From: Jozsef Kadlecsik Date: Thu, 14 Feb 2008 22:50:21 +0000 (-0800) Subject: [NETFILTER] nf_conntrack_proto_tcp.c: Mistyped state corrected. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d0c1fd7a8f4cadb95b093d2600ad627f432c5edb;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [NETFILTER] nf_conntrack_proto_tcp.c: Mistyped state corrected. Signed-off-by: Jozsef Kadlecsik Signed-off-by: David S. Miller --- diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c index 202d7fa09483..62567959b66e 100644 --- a/net/netfilter/nf_conntrack_proto_tcp.c +++ b/net/netfilter/nf_conntrack_proto_tcp.c @@ -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