summaryrefslogtreecommitdiff
path: root/net/l2tp/l2tp_ip.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-05-23 19:47:09 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-24 00:28:53 +0400
commitb26ba202e0500eb852e89499ece1b2deaa64c3a7 (patch)
tree82f9ca0dbc861e11b79d4bdb594638a6c94f127f /net/l2tp/l2tp_ip.c
parent0f8066bd48785058c339061fef05be0dcfa8dc08 (diff)
downloadlinux-b26ba202e0500eb852e89499ece1b2deaa64c3a7.tar.xz
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/l2tp/l2tp_ip.c')
-rw-r--r--net/l2tp/l2tp_ip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c
index 3397fe6897c0..369a9822488c 100644
--- a/net/l2tp/l2tp_ip.c
+++ b/net/l2tp/l2tp_ip.c
@@ -606,7 +606,6 @@ static struct inet_protosw l2tp_ip_protosw = {
.protocol = IPPROTO_L2TP,
.prot = &l2tp_ip_prot,
.ops = &l2tp_ip_ops,
- .no_check = 0,
};
static struct net_protocol l2tp_ip_protocol __read_mostly = {