]> git.proxmox.com Git - mirror_ubuntu-hirsute-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 Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:56 +0000 (09:53 +0200)
commitf6fbfc9c6c9f816effc5aa011c1b03326fef3be7
treeed9c0b5b4699f1175a1e2411c6a4213dacf87d29
parent332b414cb6795e24173ce05f33f0b8d52ade204f
net: ieee802154: forbid monitor for del llsec devkey

BugLink: https://bugs.launchpad.net/bugs/1926999
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/ieee802154/nl802154.c