diff options
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 6ef6b8b39e71..f651a816b280 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
@@ -508,7 +508,7 @@ static int __init macvlan_init_module(void) | |||
508 | goto err1; | 508 | goto err1; |
509 | return 0; | 509 | return 0; |
510 | err1: | 510 | err1: |
511 | macvlan_handle_frame_hook = macvlan_handle_frame; | 511 | macvlan_handle_frame_hook = NULL; |
512 | unregister_netdevice_notifier(&macvlan_notifier_block); | 512 | unregister_netdevice_notifier(&macvlan_notifier_block); |
513 | return err; | 513 | return err; |
514 | } | 514 | } |