diff options
author | Florian Westphal | 2021-07-22 10:48:32 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2021-08-01 12:00:50 +0200 |
commit | 7c1829b6aa74fff71abc1c9565151e50ad1aa3e1 (patch) | |
tree | e4af68ceb72ad51272ef414133792fe1b29fc84c /net/ipv4/ip_input.c | |
parent | 92fb15513edc6ae1eb51f717e70d4d3d538c2d09 (diff) |
netfilter: ipt_CLUSTERIP: only add arp mangle hook when required
Do not register the arp mangling hooks from pernet init path.
As-is, load of the module is enough for these hooks to become active
in each net namespace.
Use checkentry instead so hook is only added if a CLUSTERIP rule is used.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/ip_input.c')
0 files changed, 0 insertions, 0 deletions