diff options
author | Patrick McHardy | 2005-08-15 21:33:26 +0200 |
---|---|---|
committer | David S. Miller | 2005-08-30 01:01:11 +0200 |
commit | 066286071d3542243baa68166acb779187c848b3 (patch) | |
tree | ef6604f16ceb13842a30311654e6a64aac716c48 /net/netfilter | |
parent | [NETLINK]: Add set/getsockopt options to support more than 32 groups (diff) | |
download | kernel-qcow2-linux-066286071d3542243baa68166acb779187c848b3.tar.gz kernel-qcow2-linux-066286071d3542243baa68166acb779187c848b3.tar.xz kernel-qcow2-linux-066286071d3542243baa68166acb779187c848b3.zip |
[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.c | 4 |
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) { printk("Netfilter messages via NETLINK v%s.\n", nfversion); - nfnl = netlink_kernel_create(NETLINK_NETFILTER, nfnetlink_rcv, - THIS_MODULE); + nfnl = netlink_kernel_create(NETLINK_NETFILTER, NFNLGRP_MAX, + nfnetlink_rcv, THIS_MODULE); if (!nfnl) { printk(KERN_ERR "cannot initialize nfnetlink!\n"); return -1; |