]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 26 Feb 2008 00:18:31 +0000 (16:18 -0800)
commitc17ebea7bec9333f4208ba25d8ebe3ccc2bb8598
treec25316b3a5dc73f64f44f33a4edf1a19a6796c6f
parent9884948ab9d3ff59a1d77fd24c2d93af7686225f
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