diff options
author | Tom Herbert <therbert@google.com> | 2014-05-23 17:47:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-23 22:28:53 +0200 |
commit | b26ba202e0500eb852e89499ece1b2deaa64c3a7 (patch) | |
tree | 82f9ca0dbc861e11b79d4bdb594638a6c94f127f /net/dccp | |
parent | sunrpc: Remove sk_no_check setting (diff) | |
download | linux-b26ba202e0500eb852e89499ece1b2deaa64c3a7.tar.xz linux-b26ba202e0500eb852e89499ece1b2deaa64c3a7.zip |
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/dccp')
-rw-r--r-- | net/dccp/ipv4.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 22b5d818b200..6ca645c4b48e 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -1024,7 +1024,6 @@ static struct inet_protosw dccp_v4_protosw = { .protocol = IPPROTO_DCCP, .prot = &dccp_v4_prot, .ops = &inet_dccp_ops, - .no_check = 0, .flags = INET_PROTOSW_ICSK, }; |