]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitcfee66b0f9891fc2b79a238e737308a2732365d2
tree61eaebffc363a5eb28cf0712a74a8628704f1254
parent2157fdd6ae3f760a95c5c50072a1b4ac656eb9f5
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