netfilter: nf_nat: don't bug when mapping already exists
authorFlorian Westphal <[email protected]>
Thu, 31 Aug 2017 11:45:24 +0000 (13:45 +0200)
committerPablo Neira Ayuso <[email protected]>
Fri, 8 Sep 2017 16:55:26 +0000 (18:55 +0200)
commit75c2631468e8af554057246b2413e738dd96af3d
treec23d623edb5cfabb721363e88ace2005162c6f1a
parent68913a018f6082f8f90abb8ff9114435ef45dff7
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
net/netfilter/nf_nat_core.c