]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 10:56:15 +0000 (12:56 +0200)
commitfc5f9c33edb5e195f5fcdb84107d1085515481cd
tree92ea879e146315bc3c783a190f80f025b54279d8
parent63581374638bbabe598825b258ab642c0ccfa122
net: ieee802154: forbid monitor for del llsec devkey

[ Upstream commit 6fb8045319ef172dc88a8142e7f8b58c7608137e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ieee802154/nl802154.c