net: ieee802154: forbid monitor for del llsec key
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:44 +0000 (20:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 11:00:53 +0000 (13:00 +0200)
commit08744a622faab1fb4501479bf45a33a334237ec1
treed70f909d7b2894350257399985f0119367fc64a4
parent7edf4d2baa8a19a829475c2fbe0a9f42c628385a
net: ieee802154: forbid monitor for del llsec key

[ Upstream commit b6e2949544a183f590ae6f3ef2d1aaaa2c44e38a ]

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