Files
linux/drivers/net
Ben Hutchings af73826949 sfc: Fix assignment of ip_summed for pre-allocated skbs
commit ff3bc1e752 upstream.

When pre-allocating skbs for received packets, we set ip_summed =
CHECKSUM_UNNCESSARY.  We used to change it back to CHECKSUM_NONE when
the received packet had an incorrect checksum or unhandled protocol.

Commit bc8acf2c8c ('drivers/net: avoid
some skb->ip_summed initializations') mistakenly replaced the latter
assignment with a DEBUG-only assertion that ip_summed ==
CHECKSUM_NONE.  This assertion is always false, but it seems no-one
has exercised this code path in a DEBUG build.

Fix this by moving our assignment of CHECKSUM_UNNECESSARY into
efx_rx_packet_gro().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-19 08:57:59 -07:00
..
2011-03-05 10:55:57 +01:00
2012-03-19 08:57:46 -07:00
2010-05-10 05:01:31 -07:00
2012-01-25 17:25:03 -08:00
2011-07-01 17:36:04 -07:00
2011-03-31 11:26:23 -03:00
2012-03-19 08:57:53 -07:00
2011-03-31 11:26:23 -03:00
2012-03-19 08:57:44 -07:00
2011-03-31 11:26:23 -03:00
2009-09-01 01:13:50 -07:00
2011-06-13 18:25:19 -04:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2011-05-31 19:28:32 -07:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-03 03:18:23 -07:00
2011-04-10 18:55:19 -07:00
2010-11-09 09:17:56 -08:00
2010-07-11 18:15:08 -07:00
2011-03-31 11:26:23 -03:00
2010-08-24 12:24:07 -07:00
2010-09-26 18:34:29 -07:00
2009-04-04 16:51:14 -07:00
2011-04-10 18:55:21 -07:00
2011-03-31 11:26:23 -03:00
2010-12-23 11:44:34 -08:00
2010-07-14 13:40:36 -07:00
2010-05-10 05:01:31 -07:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2011-05-31 19:28:32 -07:00
2009-11-11 19:22:21 -08:00
2011-05-07 03:08:38 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-15 16:00:20 -07:00
2011-07-15 16:00:20 -07:00
2011-04-17 17:47:36 -07:00
2011-05-07 22:31:35 -07:00
2011-06-19 16:28:02 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-02-29 16:34:31 -08:00
2012-02-29 16:34:31 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2011-08-15 18:31:38 -07:00
2010-09-26 18:34:29 -07:00
2011-03-31 11:26:23 -03:00
2010-06-21 13:40:25 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2010-07-05 20:08:05 -07:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2008-03-26 00:18:00 -04:00
2010-12-21 02:16:08 -08:00
2011-08-15 18:31:38 -07:00
2011-04-06 14:35:23 -07:00
2011-03-31 11:26:23 -03:00
2010-09-15 22:06:05 -07:00
2010-09-21 18:04:47 -07:00
2011-03-31 11:26:23 -03:00
2010-07-15 20:46:22 -07:00
2010-05-10 05:01:31 -07:00
2011-04-26 10:22:59 +02:00
2011-04-12 14:50:42 -07:00
2010-10-24 16:25:39 -07:00
2011-06-05 17:02:51 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-11-11 09:36:28 -08:00
2011-03-31 11:26:23 -03:00
2010-06-03 03:18:23 -07:00
2011-03-31 11:26:23 -03:00
2012-02-29 16:34:08 -08:00
2011-05-30 11:14:16 +09:30
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00