commit | 024ec3deac33ddbd81f3c887506f132b24ea21a7 | [log] [tgz] |
---|---|---|
author | Joe Stringer <joe@wand.net.nz> | Thu Jul 25 10:52:05 2013 +0900 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 27 20:07:15 2013 -0700 |
tree | 32e21519a6180435415dc89628929d0e6ed56ecf | |
parent | e7428e95a06fb516fac1308bd0e176e27c0b9287 [diff] |
net/sctp: Refactor SCTP skb checksum computation 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>