aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-05-23 11:47:09 -0400
committerDavid S. Miller <davem@davemloft.net>2014-05-23 16:28:53 -0400
commitb26ba202e0500eb852e89499ece1b2deaa64c3a7 (patch)
tree82f9ca0dbc861e11b79d4bdb594638a6c94f127f /net/ipv6/udp.c
parent0f8066bd48785058c339061fef05be0dcfa8dc08 (diff)
net: Eliminate no_check from protosw
It doesn't seem like an protocols are setting anything other than the default, and allowing to arbitrarily disable checksums for a whole protocol seems dangerous. This can be done on a per socket basis. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 7edf096867c4..c7ed47bde54b 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -1507,7 +1507,6 @@ static struct inet_protosw udpv6_protosw = {
1507 .protocol = IPPROTO_UDP, 1507 .protocol = IPPROTO_UDP,
1508 .prot = &udpv6_prot, 1508 .prot = &udpv6_prot,
1509 .ops = &inet6_dgram_ops, 1509 .ops = &inet6_dgram_ops,
1510 .no_check = UDP_CSUM_DEFAULT,
1511 .flags = INET_PROTOSW_PERMANENT, 1510 .flags = INET_PROTOSW_PERMANENT,
1512}; 1511};
1513 1512