atm/br2684: netif_stop_queue() when atm device busy and netif_wake_queue() when we...
authorKarl Hiramoto <karl@hiramoto.org>
Thu, 3 Sep 2009 06:26:39 +0000 (23:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2009 06:46:10 +0000 (23:46 -0700)
commit137742cf9738f1b4784058ff79aec7ca85e769d4
tree1b2424c5d0efe674c8a93f09451b281f0ada3ec6
parent81538e74ca12a71ea37ce72f809ebc65a90b9538
atm/br2684: netif_stop_queue() when atm device busy and netif_wake_queue() when we can send packets again.

This patch removes the call to dev_kfree_skb() when the atm device is busy.
Calling dev_kfree_skb() causes heavy packet loss then the device is under
heavy load, the more correct behavior should be to stop the upper layers,
then when the lower device can queue packets again wake the upper layers.

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/br2684.c