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>
This commit is contained in:

committed by
David S. Miller

parent
0f8066bd48
commit
b26ba202e0
@@ -1322,7 +1322,6 @@ static struct inet_protosw rawv6_protosw = {
|
||||
.protocol = IPPROTO_IP, /* wild card */
|
||||
.prot = &rawv6_prot,
|
||||
.ops = &inet6_sockraw_ops,
|
||||
.no_check = UDP_CSUM_DEFAULT,
|
||||
.flags = INET_PROTOSW_REUSE,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user