]> git.itanic.dy.fi Git - linux-stable/commit
br_netfilter: use single forward hook for ip and arp
authorFlorian Westphal <fw@strlen.de>
Fri, 20 Oct 2023 11:14:25 +0000 (13:14 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Oct 2023 11:16:29 +0000 (13:16 +0200)
commitee6f05dcd6727669b6f49a8a6dafad94a40ee872
tree1dc1155305aa0e553e4b5e4c1498375f104e5b99
parent3cb03edb4de33fd04c4ea55f47397b96a8657c53
br_netfilter: use single forward hook for ip and arp

br_netfilter registers two forward hooks, one for ip and one for arp.

Just use a common function for both and then call the arp/ip helper
as needed.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/br_netfilter_hooks.c