aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-08-15 15:33:26 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:01:11 -0400
commit066286071d3542243baa68166acb779187c848b3 (patch)
treeef6604f16ceb13842a30311654e6a64aac716c48 /net/netfilter
parent9a4595bc7e67962f13232ee55a64e063062c3a99 (diff)
[NETLINK]: Add "groups" argument to netlink_kernel_create
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nfnetlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c
index 36a4c5fbb7d7..e089f17bb803 100644
--- a/net/netfilter/nfnetlink.c
+++ b/net/netfilter/nfnetlink.c
@@ -355,8 +355,8 @@ int __init nfnetlink_init(void)
355{ 355{
356 printk("Netfilter messages via NETLINK v%s.\n", nfversion); 356 printk("Netfilter messages via NETLINK v%s.\n", nfversion);
357 357
358 nfnl = netlink_kernel_create(NETLINK_NETFILTER, nfnetlink_rcv, 358 nfnl = netlink_kernel_create(NETLINK_NETFILTER, NFNLGRP_MAX,
359 THIS_MODULE); 359 nfnetlink_rcv, THIS_MODULE);
360 if (!nfnl) { 360 if (!nfnl) {
361 printk(KERN_ERR "cannot initialize nfnetlink!\n"); 361 printk(KERN_ERR "cannot initialize nfnetlink!\n");
362 return -1; 362 return -1;