aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAbinaya Kalaiselvan <akalaise@codeaurora.org>2021-06-23 20:10:44 +0530
committerJohannes Berg <johannes.berg@intel.com>2021-06-23 18:06:44 +0200
commit95f83ee8d857f006813755e89a126f1048b001e8 (patch)
tree9b41b7375b9c8ebee1bb826c26363cb3ec96e21f /net/switchdev/switchdev.c
parent6e899fa027addf2dd069714184c58a7c8c4b3030 (diff)
downloadlinux-95f83ee8d857f006813755e89a126f1048b001e8.tar.gz
linux-95f83ee8d857f006813755e89a126f1048b001e8.tar.bz2
linux-95f83ee8d857f006813755e89a126f1048b001e8.zip
mac80211: fix NULL ptr dereference during mesh peer connection for non HE devices
"sband->iftype_data" is not assigned with any value for non HE supported devices, which causes NULL pointer access during mesh peer connection in those devices. Fix this by accessing the pointer after HE capabilities condition check. Cc: stable@vger.kernel.org Fixes: 7f7aa94bcaf0 (mac80211: reduce peer HE MCS/NSS to own capabilities) Signed-off-by: Abinaya Kalaiselvan <akalaise@codeaurora.org> Link: https://lore.kernel.org/r/1624459244-4497-1-git-send-email-akalaise@codeaurora.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions