aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_nfacct.c
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2018-02-11 19:17:20 +0900
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-05 23:15:43 +0100
commitcceae76ef3a1181242e4f7b559a7bfc904a9855c (patch)
tree416168705a981972bf0f511397e581faa7884918 /net/netfilter/xt_nfacct.c
parentnetfilter: nf_tables: nf_tables_obj_lookup_byhandle() can be static (diff)
downloadlinux-dev-cceae76ef3a1181242e4f7b559a7bfc904a9855c.tar.xz
linux-dev-cceae76ef3a1181242e4f7b559a7bfc904a9855c.zip
netfilter: nfnetlink_acct: remove useless parameter
parameter skb in nfnl_acct_overquota is not used anywhere. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_nfacct.c')
-rw-r--r--net/netfilter/xt_nfacct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_nfacct.c b/net/netfilter/xt_nfacct.c
index c8674deed4eb..6b56f4170860 100644
--- a/net/netfilter/xt_nfacct.c
+++ b/net/netfilter/xt_nfacct.c
@@ -28,7 +28,7 @@ static bool nfacct_mt(const struct sk_buff *skb, struct xt_action_param *par)
nfnl_acct_update(skb, info->nfacct);
- overquota = nfnl_acct_overquota(xt_net(par), skb, info->nfacct);
+ overquota = nfnl_acct_overquota(xt_net(par), info->nfacct);
return overquota == NFACCT_UNDERQUOTA ? false : true;
}