]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Stop forwarding mesh traffic when tx queues are full
authorJavier Cardona <javier@cozybit.com>
Tue, 6 Sep 2011 20:05:21 +0000 (13:05 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:17 +0000 (13:56 -0400)
commit6b4c95594808064a5b01b264b0798b869f66b45e
tree61eaebffc363a5eb28cf0712a74a8628704f1254
parent696b996324b9d2aa89ab41a5c18d0a2504f97cea
mac80211: Stop forwarding mesh traffic when tx queues are full

Tx flow control for non-mesh modes of operation only needs to act on the
net device queues: when the hardware queues are full we stop accepting
traffic from the net device.  In mesh, however, we also need to stop
forwarding traffic.  This patch checks the hardware queues before
attempting to forward a mesh frame.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_netdev.c
net/mac80211/ieee80211_i.h
net/mac80211/rx.c