CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2014/07/11 21:27:00

Modified files:
        sys/netinet    : ip_divert.c 
        sys/netinet6   : ip6_divert.c 

Log message:
Implement checksum offload for divert(4): simply set the checksum flag
and let the stack take care of the checksums for reinjected outbound
packets.

Reinjected inbound packets will continue to have their checksums
calculated manually but we can now take advantage of in_proto_cksum_out
and in6_proto_cksum_out to streamline the way their checksums are done.

help from florian@ and henning@, feedback from naddy@
ok florian@ henning@

Reply via email to