Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375539
b: refs/heads/master
c: 84c4a9d
h: refs/heads/master
i:
  375537: fb2650f
  375535: c7b66fb
v: v3
  • Loading branch information
Cong Wang authored and David S. Miller committed May 12, 2013
1 parent b91aec4 commit 69e3921
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5dbd5068430b8bd1c19387d46d6c1a88b261257f
refs/heads/master: 84c4a9dfbf430861e7588d95ae3ff61535dca351
4 changes: 3 additions & 1 deletion trunk/net/ipv6/xfrm6_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev,
dev_hold(dev);

xdst->u.rt6.rt6i_idev = in6_dev_get(dev);
if (!xdst->u.rt6.rt6i_idev)
if (!xdst->u.rt6.rt6i_idev) {
dev_put(dev);
return -ENODEV;
}

rt6_transfer_peer(&xdst->u.rt6, rt);

Expand Down

0 comments on commit 69e3921

Please sign in to comment.