]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/ieee802154/nl802154.c
net: ieee802154: forbid monitor for add llsec key
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:43 +0000 (20:30 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 6 Apr 2021 20:03:16 +0000 (22:03 +0200)
commit08470c5453339369bd3d590c4cbb0b5961cdcbb6
treeaaf9d16fa57f5980ab250ca36eb09660b463d5d9
parentfb3c5cdf88cd504ef11d59e8d656f4bc896c6922
net: ieee802154: forbid monitor for add llsec key

This patch forbids to add 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-5-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/ieee802154/nl802154.c