mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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:
parent
0f8066bd48
commit
b26ba202e0
14 changed files with 0 additions and 24 deletions
|
@ -1017,7 +1017,6 @@ static struct inet_protosw sctp_seqpacket_protosw = {
|
|||
.protocol = IPPROTO_SCTP,
|
||||
.prot = &sctp_prot,
|
||||
.ops = &inet_seqpacket_ops,
|
||||
.no_check = 0,
|
||||
.flags = SCTP_PROTOSW_FLAG
|
||||
};
|
||||
static struct inet_protosw sctp_stream_protosw = {
|
||||
|
@ -1025,7 +1024,6 @@ static struct inet_protosw sctp_stream_protosw = {
|
|||
.protocol = IPPROTO_SCTP,
|
||||
.prot = &sctp_prot,
|
||||
.ops = &inet_seqpacket_ops,
|
||||
.no_check = 0,
|
||||
.flags = SCTP_PROTOSW_FLAG
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue