]> git.baikalelectronics.ru Git - kernel.git/commit
ip: Move checksum convert defines to inet
authorTom Herbert <therbert@google.com>
Mon, 5 Jan 2015 21:56:14 +0000 (13:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2015 03:44:46 +0000 (22:44 -0500)
commitcf6a9827f413727f23e5579593e18dc373ba5aa1
tree8597050c1dad2107ee9acf229dfdbb85c0edcb52
parent3dc359d9ce9f98106032e511bada9b1b80ea008e
ip: Move checksum convert defines to inet

Move convert_csum from udp_sock to inet_sock. This allows the
possibility that we can use convert checksum for different types
of sockets and also allows convert checksum to be enabled from
inet layer (what we'll want to do when enabling IP_CHECKSUM cmsg).

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/udp.h
include/net/inet_sock.h
net/ipv4/fou.c
net/ipv4/udp.c
net/ipv4/udp_tunnel.c
net/ipv6/udp.c