Replace cpmac fix
authorMatteo Croce <rootkit85@yahoo.it>
Sat, 12 Jan 2008 18:05:23 +0000 (19:05 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 18 Jan 2008 19:45:41 +0000 (14:45 -0500)
Please apply this patch since i reverted by mistake
the commit 4e3ab47a547616e583c7a5458beced6aa34c8ef3
in 6cd043d99dcf5d252fcc682958541f449113f7b3

Signed-off-by: Matteo Croce <technoboy85@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cpmac.c

index 6fd95a2c8cecaaa1fb8c8b6d38e7687aa02fba75..6e12d48351b8e1a4b243efd80b5c669c689e6830 100644 (file)
@@ -459,7 +459,7 @@ static int cpmac_start_xmit(struct sk_buff *skb, struct net_device *dev)
                return NETDEV_TX_OK;
 
        len = max(skb->len, ETH_ZLEN);
-       queue = skb->queue_mapping;
+       queue = skb_get_queue_mapping(skb);
 #ifdef CONFIG_NETDEVICES_MULTIQUEUE
        netif_stop_subqueue(dev, queue);
 #else