Revert "net: sctp: convert sctp_checksum_disable module param into sctp sysctl"
This reverts commit cda5f98e36
.
As per Vlad's request.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -134,8 +134,8 @@ int sctp_rcv(struct sk_buff *skb)
|
||||
__skb_pull(skb, skb_transport_offset(skb));
|
||||
if (skb->len < sizeof(struct sctphdr))
|
||||
goto discard_it;
|
||||
if (!net->sctp.checksum_disable && !skb_csum_unnecessary(skb) &&
|
||||
sctp_rcv_checksum(net, skb) < 0)
|
||||
if (!sctp_checksum_disable && !skb_csum_unnecessary(skb) &&
|
||||
sctp_rcv_checksum(net, skb) < 0)
|
||||
goto discard_it;
|
||||
|
||||
skb_pull(skb, sizeof(struct sctphdr));
|
||||
|
Reference in New Issue
Block a user