net: ieee802154: forbid monitor for set llsec params
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:41 +0000 (20:30 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 6 Apr 2021 19:57:29 +0000 (21:57 +0200)
commit88c17855ac4291fb462e13a86b7516773b6c932e
tree698ac59650cb214da194812714b257717a92c18d
parent6f7f657f24405f426212c09260bf7fe8a52cef33
net: ieee802154: forbid monitor for set llsec params

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>
net/ieee802154/nl802154.c