diff options
Diffstat (limited to 'net/ipv4/inet_diag.c')
-rw-r--r-- | net/ipv4/inet_diag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/inet_diag.c b/net/ipv4/inet_diag.c index 686ddd62f71a..031cc4856b49 100644 --- a/net/ipv4/inet_diag.c +++ b/net/ipv4/inet_diag.c | |||
@@ -897,8 +897,8 @@ static int __init inet_diag_init(void) | |||
897 | if (!inet_diag_table) | 897 | if (!inet_diag_table) |
898 | goto out; | 898 | goto out; |
899 | 899 | ||
900 | idiagnl = netlink_kernel_create(NETLINK_INET_DIAG, 0, inet_diag_rcv, | 900 | idiagnl = netlink_kernel_create(&init_net, NETLINK_INET_DIAG, 0, |
901 | NULL, THIS_MODULE); | 901 | inet_diag_rcv, NULL, THIS_MODULE); |
902 | if (idiagnl == NULL) | 902 | if (idiagnl == NULL) |
903 | goto out_free_table; | 903 | goto out_free_table; |
904 | err = 0; | 904 | err = 0; |