]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sky2: propogate rx hash when packet is copied
authorstephen hemminger <shemminger@vyatta.com>
Mon, 30 Apr 2012 05:49:45 +0000 (05:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 16:32:18 +0000 (09:32 -0700)
commitbd920c58f390f5e76e5456d395adeccd3fb1e53d
tree498eb8dcb60ba4cb2b23f89195892580056550c7
parente6a23eedf2cd344f36a6f634212d4b0913f485fe
sky2: propogate rx hash when packet is copied

[ Upstream commit 3f42941b5d1d13542b1a755a9e4f633aa72e4d3e ]

When a small packet is received, the driver copies it to a new skb to allow
reusing the full size Rx buffer. The copy was propogating the checksum offload
but not the receive hash information. The bug is impact was mostly harmless
and therefore not observed until reviewing this area of code.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/marvell/sky2.c