Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199210
b: refs/heads/master
c: 50636af
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed May 28, 2010
1 parent 03bfd16 commit cc59d77
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 418bd0d4dfbff25ffe4365ddd3e7cba8c70ccba8
refs/heads/master: 50636af715ac1ceb1872bd29a4bdcc68975c3263
4 changes: 2 additions & 2 deletions trunk/net/netfilter/xt_TEE.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ tee_tg_route4(struct sk_buff *skb, const struct xt_tee_tginfo *info)
if (ip_route_output_key(net, &rt, &fl) != 0)
return false;

dst_release(skb_dst(skb));
skb_dst_drop(skb);
skb_dst_set(skb, &rt->u.dst);
skb->dev = rt->u.dst.dev;
skb->protocol = htons(ETH_P_IP);
Expand Down Expand Up @@ -157,7 +157,7 @@ tee_tg_route6(struct sk_buff *skb, const struct xt_tee_tginfo *info)
if (dst == NULL)
return false;

dst_release(skb_dst(skb));
skb_dst_drop(skb);
skb_dst_set(skb, dst);
skb->dev = dst->dev;
skb->protocol = htons(ETH_P_IPV6);
Expand Down

0 comments on commit cc59d77

Please sign in to comment.