net/sctp: Refactor SCTP skb checksum computation
authorJoe Stringer <joe@wand.net.nz>
Thu, 25 Jul 2013 01:52:05 +0000 (10:52 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Jul 2013 03:07:15 +0000 (20:07 -0700)
This patch consolidates the SCTP checksum calculation code from various
places to a single new function, sctp_compute_cksum(skb, offset).

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Reviewed-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found