diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-02 00:35:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-02 00:35:16 -0500 |
commit | aa4abc9bcce0d2a7ec189e897f8f8c58ca04643b (patch) | |
tree | 22ef88d84a2e06380bb6a853c3ba28657e4e5f92 /drivers/net/gianfar.c | |
parent | 814c01dc7c533033b4e99981a2e24a6195bfb43c (diff) | |
parent | 52c0326beaa3cb0049d0f1c51c6ad5d4a04e4430 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/iwlwifi/iwl-tx.c
net/8021q/vlan_core.c
net/core/dev.c
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index a64a4385f5a5..bd42502b85cf 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -1312,7 +1312,7 @@ static int gfar_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1312 | spin_lock_irqsave(&priv->txlock, flags); | 1312 | spin_lock_irqsave(&priv->txlock, flags); |
1313 | 1313 | ||
1314 | /* check if there is space to queue this packet */ | 1314 | /* check if there is space to queue this packet */ |
1315 | if (nr_frags > priv->num_txbdfree) { | 1315 | if ((nr_frags+1) > priv->num_txbdfree) { |
1316 | /* no space, stop the queue */ | 1316 | /* no space, stop the queue */ |
1317 | netif_stop_queue(dev); | 1317 | netif_stop_queue(dev); |
1318 | dev->stats.tx_fifo_errors++; | 1318 | dev->stats.tx_fifo_errors++; |