]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/core/rtnetlink.c
[NETLINK]: Switch cb_lock spinlock to mutex and allow to override it
[karo-tx-linux.git] / net / core / rtnetlink.c
index 5266df3370510ebd40af22b9e9e8e7ed4515391a..648a7b6d15df28a0f071cfafbdaac796e2d6bd59 100644 (file)
@@ -972,7 +972,7 @@ void __init rtnetlink_init(void)
                panic("rtnetlink_init: cannot allocate rta_buf\n");
 
        rtnl = netlink_kernel_create(NETLINK_ROUTE, RTNLGRP_MAX, rtnetlink_rcv,
-                                    THIS_MODULE);
+                                    NULL, THIS_MODULE);
        if (rtnl == NULL)
                panic("rtnetlink_init: cannot initialize rtnetlink\n");
        netlink_set_nonroot(NETLINK_ROUTE, NL_NONROOT_RECV);