Skip to content

Commit

Permalink
[NETFILTER] nf_conntrack_proto_tcp.c: Mistyped state corrected.
Browse files Browse the repository at this point in the history
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jozsef Kadlecsik authored and David S. Miller committed Feb 14, 2008
1 parent 0f4bda0 commit d0c1fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netfilter/nf_conntrack_proto_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0c1fd7

Please sign in to comment.