]> git.hungrycats.org Git - linux/commit
wifi: mac80211: apply mcast rate only if interface is up
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 May 2024 11:34:10 +0000 (13:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2024 07:53:20 +0000 (09:53 +0200)
commitfd7c3ae093676033e66ff4e78fd2bba8433cceee
treec035a3a1f89c41206ec227f8bafd990a8a91a7f1
parentb0b21307150aa39e7b7322405d645cdc0aed5f13
wifi: mac80211: apply mcast rate only if interface is up

[ Upstream commit 02c665f048a439c0d58cc45334c94634bd7c18e6 ]

If the interface isn't enabled, don't apply multicast
rate changes immediately.

Reported-by: syzbot+de87c09cc7b964ea2e23@syzkaller.appspotmail.com
Link: https://msgid.link/20240515133410.d6cffe5756cc.I47b624a317e62bdb4609ff7fa79403c0c444d32d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/cfg.c