diff options
author | Florian Westphal <fw@strlen.de> | 2017-03-28 10:31:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-18 11:22:24 +0100 |
commit | 25db12f1c584263f96e07cbeec3af75be3416baa (patch) | |
tree | 820cf8878c64137510836d8edb63ea046b694d2f /net/can | |
parent | fd1ca9fea458ca5a846aa6e5f2203e7091be6107 (diff) | |
download | linux-stable-25db12f1c584263f96e07cbeec3af75be3416baa.tar.gz linux-stable-25db12f1c584263f96e07cbeec3af75be3416baa.tar.bz2 linux-stable-25db12f1c584263f96e07cbeec3af75be3416baa.zip |
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>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions