diff options
author | Ilan Peer <ilan.peer@intel.com> | 2018-12-15 11:03:17 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-12-18 13:15:25 +0100 |
commit | 8020919a9b99d6c990dc6a50e8215e291fbbe5a6 (patch) | |
tree | 17dbe3dae6334ae89eff06e75c393f76c72d0f56 /net/mac80211/iface.c | |
parent | 925b5978cdc7287ba08ed21bf27970131f147720 (diff) |
mac80211: Properly handle SKB with radiotap only
The monitor interface Rx handling of SKBs that contain only
radiotap information was buggy as it tried to access the
SKB assuming it contains a frame.
To fix this, check the RX_FLAG_NO_PSDU flag in the Rx status
(indicting that the SKB contains only radiotap information),
and do not perform data path specific processing when the flag
is set.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions