diff options
author | David S. Miller <davem@davemloft.net> | 2013-08-10 00:09:41 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-10 00:09:41 +0400 |
commit | 71acc0ddd499cc323199fb1ae350ce9ea0744352 (patch) | |
tree | 496bb919783bb8a89302774be8c1f7a798b364ec /net/sctp/input.c | |
parent | 477143e3fece3dc12629bb1ebd7b47e8e6e72b2b (diff) | |
download | linux-71acc0ddd499cc323199fb1ae350ce9ea0744352.tar.xz |
Revert "net: sctp: convert sctp_checksum_disable module param into sctp sysctl"
This reverts commit cda5f98e36576596b9230483ec52bff3cc97eb21.
As per Vlad's request.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r-- | net/sctp/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 2873e221e187..5f2068679f83 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c @@ -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)); |