Files
linux-stable-mirror/include/linux
Eric Dumazet bc8acf2c8c drivers/net: avoid some skb->ip_summed initializations
fresh skbs have ip_summed set to CHECKSUM_NONE (0)

We can avoid setting again skb->ip_summed to CHECKSUM_NONE in drivers.

Introduce skb_checksum_none_assert() helper so that we keep this
assertion documented in driver sources.

Change most occurrences of :

skb->ip_summed = CHECKSUM_NONE;

by :

skb_checksum_none_assert(skb);

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-02 19:06:22 -07:00
..
2010-07-31 14:20:02 +01:00
2010-08-24 14:57:09 -07:00
2010-08-05 13:26:20 +01:00
2010-08-12 06:38:24 +10:00
2010-08-12 08:43:30 -07:00
2010-08-12 08:43:30 -07:00
2010-08-12 08:43:30 -07:00
2010-08-06 15:36:47 -05:00
2010-08-04 11:00:45 +02:00
2010-08-12 04:14:05 +01:00
2010-08-11 09:23:22 +02:00
2010-08-11 18:21:02 +02:00
2010-08-29 21:57:55 -07:00
2010-08-19 17:16:23 -07:00
2010-08-09 20:45:05 -07:00
2010-08-10 11:49:21 -07:00
2010-08-12 11:27:58 +02:00
2010-08-11 08:59:23 -07:00
2010-08-09 20:44:58 -07:00
2010-08-02 06:39:44 +03:00
2010-08-01 10:47:00 +03:00
2010-08-09 16:48:45 -04:00
2010-08-12 04:14:05 +01:00
2010-08-09 20:45:00 -07:00
2010-08-11 00:29:47 -04:00
2010-09-01 10:57:55 -07:00
2010-07-31 19:53:06 +08:00
2010-07-30 09:29:35 -07:00
2010-08-21 23:40:14 -07:00
2010-08-04 21:53:17 -07:00
2010-08-09 16:47:27 -04:00
2010-08-09 20:45:02 -07:00
2010-08-10 13:47:46 -07:00
2010-08-09 16:48:44 -04:00
2010-08-30 13:23:33 -07:00
2010-08-06 10:37:02 -04:00
2010-08-12 11:47:26 +10:00
2010-08-11 08:59:02 -07:00