diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2008-11-04 13:35:39 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-11-04 13:35:39 (GMT) |
commit | 6e3354c1e9946fa585de40e93ad917ec7abd006e (patch) | |
tree | 77821b4f3b13b5d88e1b6df3639f9303ac78b045 /net/netfilter/Makefile | |
parent | 249b62035ca247b9cedbefa1acf6bdc53b96e678 (diff) | |
download | linux-fsl-qoriq-6e3354c1e9946fa585de40e93ad917ec7abd006e.tar.xz |
netfilter: nf_nat: remove warn_if_extra_mangle
In net/ipv4/netfilter/nf_nat_rule.c, the function warn_if_extra_mangle was added
in commit 5b1158e909ecbe1a052203e0d8df15633f829930 (2006-12-02). I have a DNAT
target in the OUTPUT chain than changes connections with dst 2.0.0.1 to another
address which I'll substitute with 66.102.9.99 below.
On every boot I get the following message:
[ 146.252505] NAT: no longer support implicit source local NAT
[ 146.252517] NAT: packet src 66.102.9.99 -> dst 2.0.0.1
As far as I can tell from reading the function doing this, it should warn if the
source IP for the route to 66.102.9.99 is different from 2.0.0.1 but that is not
the case. It doesn't make sense to check the DNAT target against the local route
source.
Either the function should be changed to correctly check the route, or it should
be removed entirely as it's been nearly 2 years since it was added.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/Makefile')
0 files changed, 0 insertions, 0 deletions