sunvnet: set queue mapping when doing packet copies
authorDavid L Stevens <david.stevens@oracle.com>
Fri, 30 Jan 2015 17:29:45 +0000 (12:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2015 02:20:35 +0000 (18:20 -0800)
commit44ba582beac4ff8e05a15e38548ebf3deb509547
treeee51f6d0aad18be55687ef9412fdf4e5b77066e3
parent61132bf7fbe3a802df1f68ad08e8ca10d6b30ddc
sunvnet: set queue mapping when doing packet copies

This patch fixes a bug where vnet_skb_shape() didn't set the already-selected
queue mapping when a packet copy was required. This results in using the
wrong queue index for stops/starts, hung tx queues and watchdog timeouts
under heavy load.

Signed-off-by: David L Stevens <david.stevens@oracle.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c