diff options
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/netfilter/ebt_ulog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c index 204c968fa86d..e7cfd30bac75 100644 --- a/net/bridge/netfilter/ebt_ulog.c +++ b/net/bridge/netfilter/ebt_ulog.c | |||
@@ -300,8 +300,9 @@ static int __init ebt_ulog_init(void) | |||
300 | spin_lock_init(&ulog_buffers[i].lock); | 300 | spin_lock_init(&ulog_buffers[i].lock); |
301 | } | 301 | } |
302 | 302 | ||
303 | ebtulognl = netlink_kernel_create(NETLINK_NFLOG, EBT_ULOG_MAXNLGROUPS, | 303 | ebtulognl = netlink_kernel_create(&init_net, NETLINK_NFLOG, |
304 | NULL, NULL, THIS_MODULE); | 304 | EBT_ULOG_MAXNLGROUPS, NULL, NULL, |
305 | THIS_MODULE); | ||
305 | if (!ebtulognl) | 306 | if (!ebtulognl) |
306 | ret = -ENOMEM; | 307 | ret = -ENOMEM; |
307 | else if ((ret = ebt_register_watcher(&ulog))) | 308 | else if ((ret = ebt_register_watcher(&ulog))) |