Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119766
b: refs/heads/master
c: c49b9f2
h: refs/heads/master
v: v3
  • Loading branch information
Balazs Scheidler authored and David S. Miller committed Dec 8, 2008
1 parent a4ec665 commit 4ed0902
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0a0755c9fe47dc9f8271935909c66096e43efbfe
refs/heads/master: c49b9f295e513753e6d9bb4444ba502f1aa59b29
2 changes: 1 addition & 1 deletion trunk/net/netfilter/xt_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ socket_mt(const struct sk_buff *skb, const struct xt_match_param *par)
sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), protocol,
saddr, daddr, sport, dport, par->in, false);
if (sk != NULL) {
bool wildcard = (inet_sk(sk)->rcv_saddr == 0);
bool wildcard = (sk->sk_state != TCP_TIME_WAIT && inet_sk(sk)->rcv_saddr == 0);

nf_tproxy_put_sock(sk);
if (wildcard)
Expand Down

0 comments on commit 4ed0902

Please sign in to comment.