diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-03-22 13:42:43 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-30 15:37:28 -0400 |
commit | 7236fe29fd72d17074574ba312e7f1bb9d10abaa (patch) | |
tree | 6afd1fed2871daca52f5a8b3070337ae1b6ada0d /kernel/params.c | |
parent | 05a9a1617026977422c7c5ed3aeac6f46fa2132c (diff) |
mac80211: move netdev queue enabling to correct spot
"mac80211: fix skb buffering issue" still left a race
between enabling the hardware queues and the virtual
interface queues. In hindsight it's totally obvious
that enabling the netdev queues for a hardware queue
when the hardware queue is enabled is wrong, because
it could well possible that we can fill the hw queue
with packets we already have pending. Thus, we must
only enable the netdev queues once all the pending
packets have been processed and sent off to the device.
In testing, I haven't been able to trigger this race
condition, but it's clearly there, possibly only when
aggregation is being enabled.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions