]> git.karo-electronics.de Git - karo-tx-linux.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)
commitd75f1306d9464d535007f05e5da0afcf9e3916d9
tree6ea2ba7510796abb2605aef6bdbd7f25dfc3d6a1
parent179bc67f69b6cb53ad68cfdec5a917c2a2248355
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