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>
Wed, 14 Apr 2021 06:42:14 +0000 (08:42 +0200)
commita933bcbb1f7f0535beb61a0ea71c6574322c39e6
tree5610373536736ce1a2f3c97005d905d1e224df5e
parent0238c7b47f7714a707c13a6fb0642113cbaba2cd
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