Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200165
b: refs/heads/master
c: 8764ab2
h: refs/heads/master
i:
  200163: 230dc53
v: v3
  • Loading branch information
Steffen Klassert authored and David S. Miller committed Jun 4, 2010
1 parent 522a7ff commit 17b611b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: 4f4aeb7fd0f7e6ca008bb2147ba36cee13876595
refs/heads/master: 8764ab2ca7ab5055e1ca80f9cfa4970c34acb804
6 changes: 3 additions & 3 deletions trunk/include/net/dst.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev)
* Linux networking. Thus, destinations are stackable.
*/

static inline struct dst_entry *dst_pop(struct dst_entry *dst)
static inline struct dst_entry *skb_dst_pop(struct sk_buff *skb)
{
struct dst_entry *child = dst_clone(dst->child);
struct dst_entry *child = skb_dst(skb)->child;

dst_release(dst);
skb_dst_drop(skb);
return child;
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/net/xfrm/xfrm_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ static int xfrm_output_one(struct sk_buff *skb, int err)
goto error_nolock;
}

dst = dst_pop(dst);
dst = skb_dst_pop(skb);
if (!dst) {
XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTERROR);
err = -EHOSTUNREACH;
goto error_nolock;
}
skb_dst_set(skb, dst);
skb_dst_set_noref(skb, dst);
x = dst->xfrm;
} while (x && !(x->outer_mode->flags & XFRM_MODE_FLAG_TUNNEL));

Expand Down

0 comments on commit 17b611b

Please sign in to comment.