David S. Miller
018c5bba05
net: Handle CHECKSUM_COMPLETE more adequately in pskb_trim_rcsum().
...
Currently pskb_trim_rcsum() just balks on CHECKSUM_COMPLETE packets
and remarks them as CHECKSUM_NONE, forcing a software checksum
validation later.
We have all of the mechanics available to fixup the skb->csum value,
even for complicated fragmented packets, via the helpers
skb_checksum() and csum_sub().
So just use them.
Based upon a suggestion by Herbert Xu.
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-11-15 21:11:16 -05:00
..
2013-10-29 18:26:15 -07:00
2013-11-07 10:37:37 +01:00
2013-11-13 12:09:31 +09:00
2013-11-07 19:22:48 -05:00
2013-11-04 19:46:58 -05:00
2013-11-13 12:09:15 +09:00
2013-11-13 17:40:34 +09:00
2013-11-09 00:16:28 -05:00
2013-11-13 15:45:43 +09:00
2013-11-13 15:45:43 +09:00
2013-11-06 07:49:19 +01:00
2013-11-09 00:16:29 -05:00
2013-11-03 23:04:56 -05:00
2013-11-09 00:16:30 -05:00
2013-10-29 16:06:07 -07:00
2013-11-09 00:16:24 -05:00
2013-11-09 00:16:23 -05:00
2013-11-13 15:34:18 +09:00
2013-11-13 12:09:22 +09:00
2013-11-12 15:50:46 +09:00
2013-11-15 17:55:48 -05:00
2013-11-11 00:42:07 -05:00
2013-11-13 12:09:26 +09:00
2013-11-03 10:53:11 -08:00
2013-10-28 20:07:50 -04:00
2013-11-13 17:40:34 +09:00
2013-11-13 12:09:07 +09:00
2013-11-09 00:16:21 -05:00
2013-11-13 12:09:24 +09:00
2013-11-13 12:09:08 +09:00
2013-11-13 12:09:06 +09:00
2013-11-13 12:09:05 +09:00
2013-11-13 15:27:00 +09:00
2013-11-13 12:09:08 +09:00
2013-11-13 12:09:11 +09:00
2013-11-09 00:16:19 -05:00
2013-11-13 12:09:36 +09:00
2013-11-09 00:16:19 -05:00
2013-11-07 19:11:41 -05:00
2013-11-13 17:40:34 +09:00
2013-11-04 16:42:52 -05:00
2013-10-29 18:26:14 -07:00
2013-11-08 10:47:28 -06:00
2013-11-12 16:52:17 +09:00
2013-11-13 12:09:04 +09:00
2013-11-13 15:17:16 +09:00
2013-10-29 16:50:52 -07:00
2013-11-11 14:32:15 -05:00
2013-11-13 12:09:33 +09:00
2013-11-13 12:09:33 +09:00
2013-11-15 21:11:16 -05:00
2013-11-13 12:09:12 +09:00
2013-11-12 10:20:12 +09:00
2013-11-06 20:00:09 +01:00
2013-11-13 12:09:11 +09:00
2013-11-01 08:42:44 +01:00
2013-11-13 12:09:07 +09:00