Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97640
b: refs/heads/master
c: d2ee3f2
h: refs/heads/master
v: v3
  • Loading branch information
Dong Wei authored and David S. Miller committed Jun 4, 2008
1 parent 3025f38 commit f35e477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab32cd793dca21eec846a8204390d9594ed994d5
refs/heads/master: d2ee3f2c4b1db1320c1efb4dcaceeaf6c7e6c2d3
3 changes: 2 additions & 1 deletion trunk/net/netfilter/xt_connlimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ connlimit_iphash6(const union nf_inet_addr *addr,
static inline bool already_closed(const struct nf_conn *conn)
{
if (nf_ct_protonum(conn) == IPPROTO_TCP)
return conn->proto.tcp.state == TCP_CONNTRACK_TIME_WAIT;
return conn->proto.tcp.state == TCP_CONNTRACK_TIME_WAIT ||
conn->proto.tcp.state == TCP_CONNTRACK_CLOSE;
else
return 0;
}
Expand Down

0 comments on commit f35e477

Please sign in to comment.