]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Remove last argument to ip_fragment(), and obtain all needed information
authorglebius <glebius@FreeBSD.org>
Fri, 26 Oct 2012 21:06:33 +0000 (21:06 +0000)
committerglebius <glebius@FreeBSD.org>
Fri, 26 Oct 2012 21:06:33 +0000 (21:06 +0000)
commitf79061ff05119f98b31bd77e88fa11b44e7c9a66
tree9ac53896ef62a4ee92ccfe57fe595f704b26f17b
parent64cf2bf393ba7f4f0615c554637bcef5fcd52d89
o Remove last argument to ip_fragment(), and obtain all needed information
  on checksums directly from mbuf flags. This simplifies code.
o Clear CSUM_IP from the mbuf in ip_fragment() if we did checksums in
  hardware. Some driver may not announce CSUM_IP in theur if_hwassist,
  although try to do checksums if CSUM_IP set on mbuf. Example is em(4).
o While here, consistently use CSUM_IP instead of its alias CSUM_DELAY_IP.
  After this change CSUM_DELAY_IP vanishes from the stack.

Submitted by: Sebastian Kuzminsky <seb lineratesystems.com>
sys/net/if_bridge.c
sys/netinet/ip_fastfwd.c
sys/netinet/ip_mroute.c
sys/netinet/ip_output.c
sys/netinet/ip_var.h
sys/netpfil/pf/pf.c