[NETLINK]: Add properly module refcounting for kernel netlink sockets.
[deliverable/linux.git] / net / ipv4 / fib_frontend.c
index cd8e45ab95807116a18fe1649422766ef636da3c..b5e2f1550c91cc08b4b71cdb14d699f188f678b2 100644 (file)
@@ -567,7 +567,7 @@ static void nl_fib_input(struct sock *sk, int len)
 
 static void nl_fib_lookup_init(void)
 {
-      netlink_kernel_create(NETLINK_FIB_LOOKUP, nl_fib_input);
+      netlink_kernel_create(NETLINK_FIB_LOOKUP, nl_fib_input, THIS_MODULE);
 }
 
 static void fib_disable_ip(struct net_device *dev, int force)
@@ -662,5 +662,4 @@ void __init ip_fib_init(void)
 }
 
 EXPORT_SYMBOL(inet_addr_type);
-EXPORT_SYMBOL(ip_dev_find);
 EXPORT_SYMBOL(ip_rt_ioctl);
This page took 0.026334 seconds and 5 git commands to generate.