summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-01-22 17:11:16 +0100
committerJohannes Berg <johannes.berg@intel.com>2021-01-26 11:59:45 +0100
commit054c9939b4800a91475d8d89905827bf9e1ad97a (patch)
tree09a0f558ca3b93667315e19b45582a8f94b3f816 /net/lapb/lapb_timer.c
parent5122565188bae59d507d90a9a9fd2fd6107f4439 (diff)
downloadlinux-054c9939b4800a91475d8d89905827bf9e1ad97a.tar.gz
linux-054c9939b4800a91475d8d89905827bf9e1ad97a.tar.bz2
linux-054c9939b4800a91475d8d89905827bf9e1ad97a.zip
mac80211: pause TX while changing interface type
syzbot reported a crash that happened when changing the interface type around a lot, and while it might have been easy to fix just the symptom there, a little deeper investigation found that really the reason is that we allowed packets to be transmitted while in the middle of changing the interface type. Disallow TX by stopping the queues while changing the type. Fixes: 34d4bc4d41d2 ("mac80211: support runtime interface type changes") Reported-by: syzbot+d7a3b15976bf7de2238a@syzkaller.appspotmail.com Link: https://lore.kernel.org/r/20210122171115.b321f98f4d4f.I6997841933c17b093535c31d29355be3c0c39628@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions