]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_nat: don't bug when mapping already exists
authorFlorian Westphal <fw@strlen.de>
Thu, 31 Aug 2017 11:45:24 +0000 (13:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 8 Sep 2017 16:55:26 +0000 (18:55 +0200)
commit387ef63c9759c43c551af92d0ee31ec8229cee48
treec23d623edb5cfabb721363e88ace2005162c6f1a
parentb73fd2f647379d6ce44ae5006a3b32ebb0d4b526
netfilter: nf_nat: don't bug when mapping already exists

It seems preferrable to limp along if we have a conflicting mapping,
its certainly better than a BUG().

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