aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh_ps.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-15 14:35:06 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-07-16 17:48:14 +0300
commit5c9fc93bc9bc417418fc1b6366833ae6a07b804d (patch)
treee1fb9841cd93ed7409cf2c2ccd89f416847632c6 /net/mac80211/mesh_ps.c
parentmac80211: fix duplicate retransmission detection (diff)
downloadlinux-dev-5c9fc93bc9bc417418fc1b6366833ae6a07b804d.tar.xz
linux-dev-5c9fc93bc9bc417418fc1b6366833ae6a07b804d.zip
mac80211/minstrel: fix NULL pointer dereference issue
When priv_sta == NULL, mi->prev_sample is dereferenced too early. Move the assignment further down, after the rate_control_send_low call. Reported-by: Krzysztof Mazur <krzysiek@podlesie.net> Cc: stable@vger.kernel.org # 3.10 Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_ps.c')
0 files changed, 0 insertions, 0 deletions