]> 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)
commit7d97ac32502088008ea6508144e2c8d0e2e6dc08
treeaaf9d16fa57f5980ab250ca36eb09660b463d5d9
parent8021b50a2e4cbe1ccb74383bc76648e94676ddbf
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