]> git.baikalelectronics.ru Git - kernel.git/commit
net: ieee802154: forbid monitor for del llsec devkey
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:50 +0000 (20:30 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 6 Apr 2021 20:26:29 +0000 (22:26 +0200)
commit6fb8045319ef172dc88a8142e7f8b58c7608137e
tree583e0f9cc7a79c7a8beb7db7b59e491d8ca3abf7
parenta347b3b394868fef15b16f143719df56184be81d
net: ieee802154: forbid monitor for del llsec devkey

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