]> 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)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 20 May 2012 21:56:35 +0000 (22:56 +0100)
commitd035ead85c6b765d5138a3a2cd8290e8966c74d5
tree049e9136177cb0cb35562cfcd944ac69d5469922
parent7b9c691febb4325f17a793fce9f86a1e90e37283
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: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/marvell/sky2.c