net: ieee802154: forbid monitor for del llsec key
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:44 +0000 (20:30 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 6 Apr 2021 20:07:31 +0000 (22:07 +0200)
commitb6e2949544a183f590ae6f3ef2d1aaaa2c44e38a
tree2f679cb0066a6ab97173c2f34ba89b0cfa3575d8
parent08470c5453339369bd3d590c4cbb0b5961cdcbb6
net: ieee802154: forbid monitor for del llsec key

This patch forbids to del llsec key for monitor interfaces which we
don't support yet. Otherwise we will access llsec mib which isn't
initialized for monitors.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20210405003054.256017-6-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/ieee802154/nl802154.c