]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0c67673e777d5a6bccdd8d0b128915975ee83d1
tree1b2424c5d0efe674c8a93f09451b281f0ada3ec6
parent0ce7e0feb711619556a938adcbf53a19d6bc704f
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