CVSROOT:        /cvs
Module name:    src
Changes by:     henn...@cvs.openbsd.org 2014/01/23 16:51:29

Modified files:
        sys/net        : if_bridge.c pf.c 
        sys/netinet    : ip_input.c ip_output.c ip_var.h tcp_input.c 
                         tcp_var.h udp_usrreq.c udp_var.h 
        sys/netinet6   : ip6_output.c 

Log message:
since the cksum rewrite the counters for hardware checksummed packets
are are lie, since the software engine emulates hardware offloading
and that is later indistinguishable. so kill the hw cksummed counters.
introduce software checksummed packet counters instead.
tcp/udp handles ip & ipvshit, ip cksum covered, 6 has no ip layer cksum.
as before we still have a miscounting bug for inbound with pf on, to be
fixed in the next step.
found by, prodding & ok naddy

Reply via email to