net: Split sk_no_check into sk_no_check_{rx,tx}
authorTom Herbert <therbert@google.com>
Fri, 23 May 2014 15:47:19 +0000 (08:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 May 2014 20:28:53 +0000 (16:28 -0400)
commit28448b80456feafe07e2d05b6363b00f61f6171e
treead45836de4e3bdb441a78f825d7f53ed8e8c7096
parentb26ba202e0500eb852e89499ece1b2deaa64c3a7
net: Split sk_no_check into sk_no_check_{rx,tx}

Define separate fields in the sock structure for configuring disabling
checksums in both TX and RX-- sk_no_check_tx and sk_no_check_rx.
The SO_NO_CHECK socket option only affects sk_no_check_tx. Also,
removed UDP_CSUM_* defines since they are no longer necessary.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
drivers/scsi/iscsi_tcp.c
include/net/sock.h
include/net/udp.h
net/appletalk/ddp.c
net/core/sock.c
net/decnet/af_decnet.c
net/ipv4/udp.c
net/ipv6/udp.c
net/ipx/af_ipx.c
net/ipx/ipx_route.c
net/l2tp/l2tp_core.c
net/l2tp/l2tp_netlink.c
net/sctp/socket.c