[NETFILTER]: nf_nat: fix hanging connections when loading the NAT module
commitffed53d25bf36efb0571f7d9109f2e95df7f8b33
authorPatrick McHardy <kaber@trash.net>
Tue, 9 Jan 2007 22:33:49 +0000 (9 14:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2007 22:33:49 +0000 (9 14:33 -0800)
tree2246205ca5576959e5d978d88d882fcda0f4100e
parent8c82d8df7060221f131c9ca5352fb613c14f857a
[NETFILTER]: nf_nat: fix hanging connections when loading the NAT module

When loading the NAT module, existing connection tracking entries don't
have room for NAT information allocated and packets are dropped, causing
hanging connections. They really should be entered into the NAT table
as NULL mappings, but the current allocation scheme doesn't allow this.

For now simply accept those packets to avoid the hanging connections.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_standalone.c