]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nf_nat: fix hanging connections when loading the NAT module
authorPatrick McHardy <kaber@trash.net>
Tue, 9 Jan 2007 22:33:49 +0000 (14:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2007 22:33:49 +0000 (14:33 -0800)
commitdca15955d39115eac8f0a324dcb99a06e3c09e2d
tree2246205ca5576959e5d978d88d882fcda0f4100e
parentbc742fd380094a4f62489c8e3f6227c49c4654d4
[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