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)
commit224d019c4fbba242041e9b25a926ba873b7da1e2
tree8597050c1dad2107ee9acf229dfdbb85c0edcb52
parent149118d89355fb0e1a898f47977f8ae9be8e14e7
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