sctp: Change sctp to implement csum_levels
authorTom Herbert <therbert@google.com>
Thu, 28 Aug 2014 04:27:06 +0000 (21:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 03:41:11 +0000 (20:41 -0700)
commit202863fe4c7a5b0b9a3d3a00d207691635b31930
treed0217817dc2282297e6e59fe875480e64b92901e
parent662880f4420340aad4f9a62a349c6c9d4faa1a5d
sctp: Change sctp to implement csum_levels

CHECKSUM_UNNECESSARY may be applied to the SCTP CRC so we need to
appropriate account for this by decrementing csum_level. This is
done by calling __skb_dec_checksum_unnecessary.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/input.c