From: Ivan Abramov <i.abra...@mt-integration.ru>
Date: Fri, 28 Mar 2025 04:04:26 +0300
> It's pointless to call WARN_ON() in case of an allocation failure in
> dev_change_net_namespace() and device_rename(), since it only leads to
> useless splats caused by deliberate fault injections, so avoid it.
> 
> Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
> 
> Fixes: 66e5c2672cd1 ("ieee802154: add netns support")
> Suggested-by: Kuniyuki Iwashima <kun...@amazon.com>

I suggested using net_warn_ratelimited() so this tag is not needed.
The patch itself looks good to me:

Reviewed-by: Kuniyuki Iwashima <kun...@amazon.com>


> Signed-off-by: Ivan Abramov <i.abra...@mt-integration.ru>

Reported-by: syzbot+e0bd4e4815a910c0d...@syzkaller.appspotmail.com
Closes: 
https://lore.kernel.org/netdev/000000000000f4a1b7061f942...@google.com/#t

Reply via email to