aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAbinaya Kalaiselvan <[email protected]>2021-06-23 14:40:44 +0000
committerJohannes Berg <[email protected]>2021-06-23 16:06:44 +0000
commit95f83ee8d857f006813755e89a126f1048b001e8 (patch)
tree9b41b7375b9c8ebee1bb826c26363cb3ec96e21f /net/switchdev/switchdev.c
parentmac80211: Enable power save after receiving NULL packet ACK (diff)
downloadkernel-95f83ee8d857f006813755e89a126f1048b001e8.tar.gz
kernel-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: [email protected] Fixes: 7f7aa94bcaf0 (mac80211: reduce peer HE MCS/NSS to own capabilities) Signed-off-by: Abinaya Kalaiselvan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions