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-09-26 14:02:33 -04:00
2013-09-09 11:15:49 -07:00
2013-09-06 13:21:16 -07:00
2013-09-09 16:35:29 -07:00
2013-09-10 13:33:09 -07:00
2013-10-17 15:10:50 -04:00
2013-10-10 09:23:59 -07:00
2013-10-14 18:01:01 +02:00
2013-09-12 11:35:33 -07:00
2013-09-10 13:03:41 -07:00
2013-09-17 11:49:25 +01:00
2013-09-10 13:33:09 -07:00
2013-10-02 15:40:57 -04:00
2013-09-10 20:04:59 -07:00
2013-11-02 02:02:04 -04:00
2013-09-11 15:58:04 -07:00
2013-09-30 14:31:02 -07:00
2013-09-11 15:59:04 -07:00
2013-09-21 13:57:47 -06:00
2013-09-11 15:56:57 -07:00
2013-09-11 15:58:25 -07:00
2013-10-11 07:39:14 +02:00
2013-09-13 15:09:52 +02:00
2013-09-10 02:54:50 +02:00
2013-09-11 15:59:10 -07:00
2013-11-03 23:04:56 -05:00
2013-09-07 12:56:26 +10:00
2013-09-10 18:56:29 -04:00
2013-09-20 10:36:34 -04:00
2013-09-09 10:26:33 -07:00
2013-09-10 13:37:36 -07:00
2013-09-26 15:06:58 -07:00
2013-09-07 19:54:57 -04:00
2013-09-26 15:06:58 -07:00
2013-09-26 15:06:58 -07:00
2013-10-07 15:16:45 -04:00
2013-09-12 10:12:47 -07:00
2013-09-13 23:06:40 -04:00
2013-09-11 15:57:35 -07:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:11:21 +02:00
2013-09-26 15:06:58 -07:00
2013-09-12 15:38:03 -07:00
2013-09-11 15:57:49 -07:00
2013-09-26 14:20:21 -07:00
2013-10-01 12:17:08 +02:00
2013-09-26 15:06:58 -07:00
2013-09-11 15:59:37 -07:00
2013-09-24 13:04:07 +02:00
2013-09-13 15:09:52 +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-10-19 19:45:35 -04:00
2013-10-19 19:45:35 -04:00
2013-09-13 15:09:52 +02:00
2013-09-20 15:38:26 -04:00
2013-09-11 15:58:52 -07:00
2013-09-17 12:52:31 +03:00
2013-09-10 18:56:32 -04:00
2013-09-07 15:49:18 -07:00
2013-09-11 15:59:45 -07:00
2013-09-11 15:57:51 -07:00
2013-10-16 21:35:53 -07:00
2013-09-11 15:57:48 -07:00
2013-09-13 10:55:58 -07:00
2013-09-26 11:03:29 +02:00
2013-09-11 15:58:01 -07:00
2013-09-13 10:55:58 -07:00
2013-09-12 15:38:03 -07:00
2013-09-11 15:58:01 -07:00
2013-09-07 09:48:41 -07:00
2013-09-28 12:46:21 +02:00
2013-09-08 20:20:23 -04:00
2013-10-25 19:03:39 -04:00
2013-10-21 18:49:39 -04:00
2013-10-29 02:40:21 -07:00
2013-09-26 14:48:15 -07:00
2013-09-26 14:48:15 -07:00
2013-09-26 14:48:15 -07:00
2013-10-14 17:15:48 +02:00
2013-09-06 14:49:16 -04:00
2013-09-26 10:20:18 -04:00
2013-09-10 13:53:52 -07:00
2013-09-24 21:12:32 -05:00
2013-09-10 13:53:52 -07:00
2013-09-15 17:41:30 -04:00
2013-09-06 13:30:06 -07:00
2013-09-09 14:29:15 -07:00
2013-10-04 09:58:53 +02:00
2013-09-11 15:59:36 -07:00
2013-09-11 15:59:37 -07:00
2013-09-23 06:35:06 -04:00
2013-09-11 15:59:20 -07:00
2013-09-12 15:38:02 -07:00
2013-10-25 19:03:45 -04:00
2013-10-16 21:35:53 -07:00
2013-09-12 09:25:23 -07:00
2013-09-10 18:56:32 -04:00
2013-11-03 23:04:57 -05:00
2013-09-24 17:00:25 -07:00
2013-09-12 15:38:02 -07:00
2013-09-11 15:58:25 -07:00
2013-10-10 12:31:43 -07:00
2013-10-16 13:32:04 -07:00
2013-09-07 14:35:32 -07:00
2013-10-11 15:19:22 +10:00
2013-09-11 15:57:09 -07:00
2013-09-11 15:58:01 -07:00
2013-09-11 15:58:02 -07:00
2013-10-17 15:53:09 -04:00