]> git.baikalelectronics.ru Git - kernel.git/commit
net: ieee802154: forbid monitor for add llsec devkey
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:49 +0000 (20:30 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 6 Apr 2021 20:24:08 +0000 (22:24 +0200)
commit5d77483ebd6ec369b0569d27538a09bb0922bd49
tree599f467d8765cdb6ea5f9cd7f3f76c3d628e6a40
parent0dc30295e54c009d48c87a9b417077798e521cf9
net: ieee802154: forbid monitor for add llsec devkey

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