diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2008-02-14 17:50:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-14 17:50:21 -0500 |
commit | d0c1fd7a8f4cadb95b093d2600ad627f432c5edb (patch) | |
tree | 12ab316afb6b129653bdcba9a6382d87974eaf0d /net | |
parent | 0f4bda005fd685f7cbb2ad47b7bab1b155df2b86 (diff) |
[NETFILTER] nf_conntrack_proto_tcp.c: Mistyped state corrected.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_proto_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
945 | 945 | ||
946 | ct->proto.tcp.state = new_state; | 946 | ct->proto.tcp.state = new_state; |
947 | if (old_state != new_state | 947 | if (old_state != new_state |
948 | && new_state == TCP_CONNTRACK_CLOSE) | 948 | && new_state == TCP_CONNTRACK_FIN_WAIT) |
949 | ct->proto.tcp.seen[dir].flags |= IP_CT_TCP_FLAG_CLOSE_INIT; | 949 | ct->proto.tcp.seen[dir].flags |= IP_CT_TCP_FLAG_CLOSE_INIT; |
950 | timeout = ct->proto.tcp.retrans >= nf_ct_tcp_max_retrans | 950 | timeout = ct->proto.tcp.retrans >= nf_ct_tcp_max_retrans |
951 | && tcp_timeouts[new_state] > nf_ct_tcp_timeout_max_retrans | 951 | && tcp_timeouts[new_state] > nf_ct_tcp_timeout_max_retrans |