]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ieee802154: forbid monitor for set llsec params
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:41 +0000 (20:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Apr 2021 10:00:22 +0000 (12:00 +0200)
commitf4ec1cdddb615ac63935b13fe635f99d823d98ea
treee386c4bb70275bec31732ddcd6e7ccd63e1fff19
parent2b5379d457f8c955bb190d8552a2772e9e8abfb7
net: ieee802154: forbid monitor for set llsec params

commit 88c17855ac4291fb462e13a86b7516773b6c932e upstream.

This patch forbids to set llsec params for monitor interfaces which we
don't support yet.

Reported-by: syzbot+8b6719da8a04beeafcc3@syzkaller.appspotmail.com
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20210405003054.256017-3-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ieee802154/nl802154.c