diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-10-18 23:12:08 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-10-19 12:11:49 +0200 |
commit | 1c3d185a9a0b136a58e73b02912d593d0303d1da (patch) | |
tree | d7d51bc5b0057c491393372bb1b21c1479abb99b /include/net/mac80211.h | |
parent | a1264c3d6c04f0e4e9d447caaa249d6288b01520 (diff) | |
download | op-kernel-dev-1c3d185a9a0b136a58e73b02912d593d0303d1da.zip op-kernel-dev-1c3d185a9a0b136a58e73b02912d593d0303d1da.tar.gz |
mac80211: fix tid_agg_rx NULL dereference
On drivers setting the SUPPORTS_REORDERING_BUFFER hardware flag,
we crash when the peer sends an AddBA request while we already
have a session open on the seame TID; this is because on those
drivers, the tid_agg_rx is left NULL even though the session is
valid, and the agg_session_valid bit is set.
To fix this, store the dialog tokens outside the tid_agg_rx to
be able to compare them to the received AddBA request.
Fixes: f89e07d4cf26 ("mac80211: agg-rx: refuse ADDBA Request with timeout update")
Reported-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
0 files changed, 0 insertions, 0 deletions