]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sfc: Set ip_summed correctly for page buffers passed to GRO
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Oct 2009 10:43:49 +0000 (03:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:22:02 +0000 (10:22 -0800)
commitf7f7ef6ecdc4626f6b8a6a43b2c5be0e0e0a1bc7
treef07fee3eb28450ffca9eb8fa31b9bc5f0043b88f
parent193fe66e59fd31d6046727d6fdb9a232ad4cbd46
sfc: Set ip_summed correctly for page buffers passed to GRO

[ Upstream commit 345056af41feeda506a8993474b9cbb2c66bc9fb ]

Page buffers containing packets with an incorrect checksum or using a
protocol not handled by hardware checksum offload were previously not
passed to LRO.  The conversion to GRO changed this, but did not set
the ip_summed value accordingly.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sfc/rx.c