Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203966
b: refs/heads/master
c: 116e1f1
h: refs/heads/master
v: v3
  • Loading branch information
Changli Gao authored and Patrick McHardy committed Jul 9, 2010
1 parent ceba57a commit 27114ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275
refs/heads/master: 116e1f1b09dffe0ff8ebab73501324dca7bbbe5e
6 changes: 4 additions & 2 deletions trunk/net/netfilter/xt_TPROXY.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ tproxy_tg(struct sk_buff *skb, const struct xt_action_param *par)
return NF_DROP;

sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol,
iph->saddr, tgi->laddr ? tgi->laddr : iph->daddr,
hp->source, tgi->lport ? tgi->lport : hp->dest,
iph->saddr,
tgi->laddr ? tgi->laddr : iph->daddr,
hp->source,
tgi->lport ? tgi->lport : hp->dest,
par->in, true);

/* NOTE: assign_sock consumes our sk reference */
Expand Down

0 comments on commit 27114ba

Please sign in to comment.