]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ieee802154: Remove WARN_ON() in cfg802154_pernet_exit()
authorIvan Abramov <i.abramov@mt-integration.ru>
Thu, 3 Apr 2025 10:19:34 +0000 (13:19 +0300)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 19 Jun 2026 19:40:53 +0000 (21:40 +0200)
commite69ed6fc9fb3b386b5fcdb9f51623f122cee2ebd
tree32e96a8e6b5b29a77eac39e1eadcb7c800155de8
parent0569f67ed6a7af838e2141da93c68e6b6013f483
ieee802154: Remove WARN_ON() in cfg802154_pernet_exit()

There's no need to call WARN_ON() in cfg802154_pernet_exit(), since
every point of failure in cfg802154_switch_netns() is covered with
WARN_ON(), so remove it.

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

Fixes: 66e5c2672cd1 ("ieee802154: add netns support")
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Ivan Abramov <i.abramov@mt-integration.ru>
Link: https://lore.kernel.org/20250403101935.991385-4-i.abramov@mt-integration.ru
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/ieee802154/core.c