]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2012 17:39:13 +0000 (13:39 -0400)
commit3f42941b5d1d13542b1a755a9e4f633aa72e4d3e
tree351d5db0f926e3659cb8586f849468723bc4c80a
parentd961949660fa1c1b7eb0c3a3c157989c90f14e8e
sky2: propogate rx hash when packet is copied

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>
drivers/net/ethernet/marvell/sky2.c