NETFILTER: nf_conntrack_tcp: conntrack reopening fix
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 19 Feb 2008 15:24:01 +0000 (16:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Feb 2008 23:59:23 +0000 (15:59 -0800)
commit98d047714d208a6f8a933175a32d7d33931198ad
tree9bc3e7418afc8ed7321e11fcfec7a428c6cac378
parent3b62bc1363411799eac3d7dab2412b2df3fa9ac0
NETFILTER: nf_conntrack_tcp: conntrack reopening fix

[NETFILTER]: nf_conntrack_tcp: conntrack reopening fix

[Upstream commits b2155e7f + d0c1fd7a]

TCP connection tracking in netfilter did not handle TCP reopening
properly: active close was taken into account for one side only and
not for any side, which is fixed now. The patch includes more comments
to explain the logic how the different cases are handled.
The bug was discovered by Jeff Chua.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/nf_conntrack_proto_tcp.c