]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
udp: move logic out of udp[46]_ufo_send_check
authorTom Herbert <therbert@google.com>
Sat, 20 Sep 2014 21:52:29 +0000 (14:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Sep 2014 04:22:46 +0000 (00:22 -0400)
commitf71470b37e79d6eb151debd47364d920b7babd30
treecef41e3672ce144ddb9d251afc93190dcc3931c8
parentd020f8f73318589bf41f864b7f89f95669350873
udp: move logic out of udp[46]_ufo_send_check

In udp[46]_ufo_send_check the UDP checksum initialized to the pseudo
header checksum. We can move this logic into udp[46]_ufo_fragment.
After this change udp[64]_ufo_send_check is a no-op.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp_offload.c
net/ipv6/udp_offload.c