Message ID | 4BC5532E.7000302@nvidia.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
Ayaz Abdulla wrote: > This patch fixes the TX_LIMIT feature flag. The previous logic check for > TX_LIMIT2 also took into account a device that only had TX_LIMIT set. > > Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com> > > This is a fix for bug 572201 @ bugs.debian.org Hi, Thanks! I'll rebuild my Debian kernel with this and run a test today. -stephen -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- old/drivers/net/forcedeth.c 2010-04-14 01:18:51.000000000 -0400 +++ new/drivers/net/forcedeth.c 2010-04-14 01:20:40.000000000 -0400 @@ -5901,7 +5901,7 @@ /* Limit the number of tx's outstanding for hw bug */ if (id->driver_data & DEV_NEED_TX_LIMIT) { np->tx_limit = 1; - if ((id->driver_data & DEV_NEED_TX_LIMIT2) && + if (((id->driver_data & DEV_NEED_TX_LIMIT2) == DEV_NEED_TX_LIMIT2) && pci_dev->revision >= 0xA2) np->tx_limit = 0; }
This patch fixes the TX_LIMIT feature flag. The previous logic check for TX_LIMIT2 also took into account a device that only had TX_LIMIT set. Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com> This is a fix for bug 572201 @ bugs.debian.org