]> err.no Git - linux-2.6/commitdiff
ehea: Fixed multi queue RX bug
authorThomas Klein <osstklei@de.ibm.com>
Wed, 30 May 2007 10:39:23 +0000 (12:39 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 30 May 2007 14:00:16 +0000 (10:00 -0400)
Must access the respective queue's dummy netdev instead of the port's netdev.

Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c

index 602872dbe15fa4be022b2effd872a0deb447c6b3..e85a933a47625e68bee0704b17d2a5675ac7d492 100644 (file)
@@ -39,7 +39,7 @@
 #include <asm/io.h>
 
 #define DRV_NAME       "ehea"
-#define DRV_VERSION    "EHEA_0058"
+#define DRV_VERSION    "EHEA_0061"
 
 #define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \
        | NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR)
index f6e0cb1ada1ff6a0b14fa07b0e574f18316bf0dc..152bb2016a2c94998e68c0094ab64d9425582dc7 100644 (file)
@@ -428,7 +428,7 @@ static struct ehea_cqe *ehea_proc_rwqes(struct net_device *dev,
                                }
                                skb_copy_to_linear_data(skb, ((char*)cqe) + 64,
                                               cqe->num_bytes_transfered - 4);
-                               ehea_fill_skb(dev, skb, cqe);
+                               ehea_fill_skb(port->netdev, skb, cqe);
                        } else if (rq == 2) {  /* RQ2 */
                                skb = get_skb_by_index(skb_arr_rq2,
                                                       skb_arr_rq2_len, cqe);