]> err.no Git - linux-2.6/commitdiff
[NETFILTER] nf_conntrack_proto_tcp.c: Mistyped state corrected.
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 14 Feb 2008 22:50:21 +0000 (14:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2008 22:50:21 +0000 (14:50 -0800)
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_proto_tcp.c

index 202d7fa09483841ac91143f1d1c53dab9d6a6d50..62567959b66ea0c1018851aa6413db05863b12ec 100644 (file)
@@ -945,7 +945,7 @@ static int tcp_packet(struct nf_conn *ct,
 
        ct->proto.tcp.state = new_state;
        if (old_state != new_state
-           && new_state == TCP_CONNTRACK_CLOSE)
+           && new_state == TCP_CONNTRACK_FIN_WAIT)
                ct->proto.tcp.seen[dir].flags |= IP_CT_TCP_FLAG_CLOSE_INIT;
        timeout = ct->proto.tcp.retrans >= nf_ct_tcp_max_retrans
                  && tcp_timeouts[new_state] > nf_ct_tcp_timeout_max_retrans