]> git.itanic.dy.fi Git - linux-stable/commit
net: ieee802154: forbid monitor for add llsec key
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:43 +0000 (20:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 11:13:20 +0000 (13:13 +0200)
commit3d89b833bba2df8366a0a5aa7b5313a9ff943af0
treec57d703620c05f3d375feafbf5f488c32012d152
parent18feecdfff091a59fbf46ba27b8a5e18db130a4d
net: ieee802154: forbid monitor for add llsec key

[ Upstream commit 08470c5453339369bd3d590c4cbb0b5961cdcbb6 ]

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