diff options
Diffstat (limited to 'net/bridge/br.c')
-rw-r--r-- | net/bridge/br.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bridge/br.c b/net/bridge/br.c index 558d27204f60..654401ceb2db 100644 --- a/net/bridge/br.c +++ b/net/bridge/br.c | |||
@@ -48,6 +48,7 @@ static int __init br_init(void) | |||
48 | if (err) | 48 | if (err) |
49 | goto err_out2; | 49 | goto err_out2; |
50 | 50 | ||
51 | br_netlink_init(); | ||
51 | brioctl_set(br_ioctl_deviceless_stub); | 52 | brioctl_set(br_ioctl_deviceless_stub); |
52 | br_handle_frame_hook = br_handle_frame; | 53 | br_handle_frame_hook = br_handle_frame; |
53 | 54 | ||
@@ -67,6 +68,7 @@ static void __exit br_deinit(void) | |||
67 | { | 68 | { |
68 | rcu_assign_pointer(br_stp_sap->rcv_func, NULL); | 69 | rcu_assign_pointer(br_stp_sap->rcv_func, NULL); |
69 | 70 | ||
71 | br_netlink_fini(); | ||
70 | br_netfilter_fini(); | 72 | br_netfilter_fini(); |
71 | unregister_netdevice_notifier(&br_device_notifier); | 73 | unregister_netdevice_notifier(&br_device_notifier); |
72 | brioctl_set(NULL); | 74 | brioctl_set(NULL); |