Re: [PATCH net] macvlan: Return error on register_netdevice_notifier() failure
From: Simon Horman
Date: Wed Jul 24 2024 - 14:40:12 EST
On Wed, Jul 24, 2024 at 10:56:22PM +0900, Shigeru Yoshida wrote:
> register_netdevice_notifier() may fail, but macvlan_init_module() does
> not handle the failure. Handle the failure by returning an error.
>
> Fixes: b863ceb7ddce ("[NET]: Add macvlan driver")
> Signed-off-by: Shigeru Yoshida <syoshida@xxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>