]> git.baikalelectronics.ru Git - kernel.git/commit
net: udp: always set up for CHECKSUM_PARTIAL offload
authorEdward Cree <ecree@solarflare.com>
Thu, 11 Feb 2016 20:49:40 +0000 (20:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2016 10:52:15 +0000 (05:52 -0500)
commitb230c6cb7bcf61ea0ee9cf48f72c95f67a65f32b
tree6ea2ba7510796abb2605aef6bdbd7f25dfc3d6a1
parentf06d2043908fb5c304e321c8100bd56ccf53de2a
net: udp: always set up for CHECKSUM_PARTIAL offload

If the dst device doesn't support it, it'll get fixed up later anyway
 by validate_xmit_skb().  Also, this allows us to take advantage of LCO
 to avoid summing the payload multiple times.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/ip6_checksum.c