commit | 25db12f1c584263f96e07cbeec3af75be3416baa | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Tue Mar 28 10:31:03 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Nov 18 11:22:24 2017 +0100 |
tree | 820cf8878c64137510836d8edb63ea046b694d2f | |
parent | fd1ca9fea458ca5a846aa6e5f2203e7091be6107 [diff] |
netfilter: nat: avoid use of nf_conn_nat extension commit 6e699867f84c0f358fed233fe6162173aca28e04 upstream. successful insert into the bysource hash sets IPS_SRC_NAT_DONE status bit so we can check that instead of presence of nat extension which requires extra deref. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>