]> 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)
commitb2325da5f47a21b47dcf009a330f526c2a96452e
tree8597050c1dad2107ee9acf229dfdbb85c0edcb52
parent09645e942d31b728e0ad898be5256460ca00db08
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