diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 41a8a5f06602b2a98c36225925765783cb21d075..73eb8c33e9f0022692fdf6cfe387f83322d72d99 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -1742,6 +1742,7 @@ int __init ndisc_init(struct net_proto_family *ops) void ndisc_cleanup(void) { + unregister_netdevice_notifier(&ndisc_netdev_notifier); #ifdef CONFIG_SYSCTL neigh_sysctl_unregister(&nd_tbl.parms); #endif