diff options
author | Helmut Schaa <hschaa@suse.de> | 2007-12-21 15:16:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 00:00:50 +0100 |
commit | 69f817b654d683265118188bbfb8bc0d8978cce6 (patch) | |
tree | 1dac1b592fa6b1b9345f9d94fbf1abe1d1e00419 /fs/xfs/xfs_itable.c | |
parent | [XFRM]: xfrm_state_clone() should be static, not exported (diff) | |
download | linux-69f817b654d683265118188bbfb8bc0d8978cce6.tar.xz linux-69f817b654d683265118188bbfb8bc0d8978cce6.zip |
mac80211: Restore rx.fc before every invocation of ieee80211_invoke_rx_handlers
This patch fixes a problem with rx handling on multiple interfaces. Especially
when using hardware-scanning and a wireless driver (i.e. iwlwifi) which is
able to receive data while scanning.
The rx handlers can modify the skb and the frame control field (see
ieee80211_rx_h_remove_qos_control) but since every interface gets its own
copy of the skb each should get its own copy of rx.fc too.
In my case the wlan0-interface did not remove the qos-control from the frame
because the corresponding flag in rx.fc was already removed while processing
the frame on the master interface. Therefore somehow corrupted frames were
passed to the userspace.
Signed-off-by: Helmut Schaa <hschaa@suse.de>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/xfs/xfs_itable.c')
0 files changed, 0 insertions, 0 deletions