diff options
author | Florian Westphal <fw@strlen.de> | 2022-06-20 17:17:31 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-21 11:50:41 +0300 |
commit | fcd53c51d03709bc429822086f1e9b3e88904284 (patch) | |
tree | 5befebf050b7a22af1ae20fa3b71d5959e780e0a /net/compat.c | |
parent | 574a5b85dc3b9ab672ff3fba0ee020f927960648 (diff) | |
download | linux-fcd53c51d03709bc429822086f1e9b3e88904284.tar.xz |
netfilter: nf_dup_netdev: add and use recursion counter
Now that the egress function can be called from egress hook, we need
to avoid recursive calls into the nf_tables traverser, else crash.
Fixes: f87b9464d152 ("netfilter: nft_fwd_netdev: Support egress hook")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions