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:22:37 +0000 (08:22 +0200)
commit12f120cecfea577581da94193e7dfca44bc67c88
tree72f9858d6e7e18422ab029a6dc1f24bc040c8308
parent22e025c1733b330ecdc49f23365f914f6d39ac12
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