]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/ipv4/netfilter/ip_queue.c
[NETLINK]: Add properly module refcounting for kernel netlink sockets.
[karo-tx-linux.git] / net / ipv4 / netfilter / ip_queue.c
index ae975ac59c6a4da507b4399d3b4c53c71d2c53e5..b237f7fcad926a87e10db0fc8df8b67e0a7c676e 100644 (file)
@@ -692,7 +692,8 @@ init_or_cleanup(int init)
                goto cleanup;
 
        netlink_register_notifier(&ipq_nl_notifier);
-       ipqnl = netlink_kernel_create(NETLINK_FIREWALL, ipq_rcv_sk);
+       ipqnl = netlink_kernel_create(NETLINK_FIREWALL, ipq_rcv_sk,
+                                     THIS_MODULE);
        if (ipqnl == NULL) {
                printk(KERN_ERR "ip_queue: failed to create netlink socket\n");
                goto cleanup_netlink_notifier;