Files
kernel/include/linux
Daniel Borkmann 2817a336d4 net: skb_checksum: allow custom update/combine for walking skb
Currently, skb_checksum walks over 1) linearized, 2) frags[], and
3) frag_list data and calculats the one's complement, a 32 bit
result suitable for feeding into itself or csum_tcpudp_magic(),
but unsuitable for SCTP as we're calculating CRC32c there.

Hence, in order to not re-implement the very same function in
SCTP (and maybe other protocols) over and over again, use an
update() + combine() callback internally to allow for walking
over the skb with different algorithms.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-03 23:04:57 -05:00
..
2013-08-14 13:55:15 +05:30
2013-08-26 18:40:56 -04:00
2013-08-27 01:44:40 +02:00
2013-08-26 20:15:23 +09:00
2013-08-22 22:13:54 -07:00
2013-09-13 15:09:52 +02:00
2013-08-23 10:22:29 +02:00
2013-10-01 12:17:08 +02:00
2013-09-11 15:59:42 -07:00
2013-10-28 20:07:50 -04:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-08-09 10:49:00 +02:00
2013-08-28 21:35:14 -07:00
2013-09-26 11:03:29 +02:00
2013-08-12 15:27:01 +00:00
2013-09-08 20:20:23 -04:00
2013-10-25 19:03:39 -04:00
2013-10-14 17:15:48 +02:00
2013-09-03 16:40:32 -04:00
2013-09-24 21:12:32 -05:00
2013-08-12 15:27:01 +00:00
2013-09-09 14:29:15 -07:00
2013-09-10 18:56:32 -04:00
2013-09-04 23:11:42 +03:00
2013-09-12 15:38:02 -07:00
2013-08-05 10:52:36 -06:00
2013-10-17 15:53:09 -04:00