diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-23 01:17:10 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-26 19:16:52 +0300 |
commit | 797d49805ddc6595b2fafe3e9ceff7f562be1f2c (patch) | |
tree | 3169fc66dea1de205b7daf63464db18b85ec086c /net/netfilter/nfnetlink.c | |
parent | a655536571747575fcaac3c93252b0032d878545 (diff) | |
download | linux-797d49805ddc6595b2fafe3e9ceff7f562be1f2c.tar.xz |
netfilter: nfnetlink: pass struct nfnl_info to rcu callbacks
Update rcu callbacks to use the nfnl_info structure.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nfnetlink.c')
-rw-r--r-- | net/netfilter/nfnetlink.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c index 5f04b67bf47e..7920f6c4ff69 100644 --- a/net/netfilter/nfnetlink.c +++ b/net/netfilter/nfnetlink.c @@ -274,9 +274,8 @@ replay: } if (nc->call_rcu) { - err = nc->call_rcu(net, nfnlnet->nfnl, skb, nlh, - (const struct nlattr **)cda, - extack); + err = nc->call_rcu(skb, &info, + (const struct nlattr **)cda); rcu_read_unlock(); } else { rcu_read_unlock(); |