Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34538
b: refs/heads/master
c: a57d27f
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Sep 22, 2006
1 parent 234c6ef commit 78762c0
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: 2809486424df58043b380aeb9d7f402c031c46f6
refs/heads/master: a57d27fc7107ddcc655ba2812cfebfce3163fd62
6 changes: 4 additions & 2 deletions trunk/net/core/rtnetlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,10 @@ int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics)
}
}

if (!valid)
goto nla_put_failure;
if (!valid) {
nla_nest_cancel(skb, mx);
return 0;
}

return nla_nest_end(skb, mx);

Expand Down

0 comments on commit 78762c0

Please sign in to comment.