]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb33697b69b43f33002f91145386ea3c83231e632
treeaaf9d16fa57f5980ab250ca36eb09660b463d5d9
parentc9d8fa2e9efa411f93982fe6ae411b322e4cb215
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