Skip to content
Commit 024ec3de authored by Joe Stringer's avatar Joe Stringer Committed by David S. Miller
Browse files

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: default avatarJoe Stringer <joe@wand.net.nz>
Reviewed-by: default avatarJulian Anastasov <ja@ssi.bg>
Acked-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e7428e95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment