]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: ieee802154: forbid monitor for add llsec seclevel
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:52 +0000 (20:30 -0400)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:56 +0000 (09:53 +0200)
commitd08a49a2d42d231a3ff67bcfb58330d252fbf2fc
treed003e918f1493b2ffe7faddfa25756e9929b6316
parentf509e2bd6eab451f3c7f1d172d921c3f3c240524
net: ieee802154: forbid monitor for add llsec seclevel

BugLink: https://bugs.launchpad.net/bugs/1926999
[ Upstream commit 9ec87e322428d4734ac647d1a8e507434086993d ]

This patch forbids to add llsec seclevel 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-14-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