commit | 43a605f2f722b6e08addedae8545b490fca252c4 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Mar 27 11:53:08 2018 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Mar 30 11:29:19 2018 +0200 |
tree | ec3310d2587f35c25d59d79ad4d1460ecc710d75 | |
parent | 02c7b25e5f54321b9063e18d4f52cce07f8e081d [diff] |
netfilter: nf_tables: enable conntrack if NAT chain is registered Register conntrack hooks if the user adds NAT chains. Users get confused with the existing behaviour since they will see no packets hitting this chain until they add the first rule that refers to conntrack. This patch adds new ->init() and ->free() indirections to chain types that can be used by NAT chains to invoke the conntrack dependency. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>