diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-08-31 09:45:28 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-09-11 11:27:06 +0530 |
commit | 42835fb88b5c0d4cf21ed69e59b7950244274324 (patch) | |
tree | 1c724aca8fe7c82514b9ddfd46d4c750e0a2e41d | |
parent | 393da7b8a92811ad673b7ed1947ecb977028f35b (diff) |
netfilter: xt_quota2: Update parameter list in netlink_kernel_createtracking-samslt-all-ll-20120911.0samsung-lt-v3.6-rc5
Commit a31f2d17b331 ("netlink: add netlink_kernel_cfg parameter to
netlink_kernel_create") modifies parameter list of netlink_kernel_create.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r-- | net/netfilter/xt_quota2.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/netfilter/xt_quota2.c b/net/netfilter/xt_quota2.c index 865f9094d0eb..3a9c1f9475ce 100644 --- a/net/netfilter/xt_quota2.c +++ b/net/netfilter/xt_quota2.c @@ -350,12 +350,14 @@ static struct xt_match quota_mt2_reg[] __read_mostly = { static int __init quota_mt2_init(void) { int ret; + struct netlink_kernel_cfg cfg = { + .groups = 1, + }; pr_debug("xt_quota2: init()"); #ifdef CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG - nflognl = netlink_kernel_create(&init_net, - NETLINK_NFLOG, 1, NULL, - NULL, THIS_MODULE); + nflognl = netlink_kernel_create(&init_net, NETLINK_NFLOG, + THIS_MODULE, &cfg); if (!nflognl) return -ENOMEM; #endif |