Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300406
b: refs/heads/master
c: 4e24ffa
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Apr 2, 2012
1 parent 6265dab commit f747a74
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 6662df33f85b87bb29f2ecad124efe7bb2c08e05
refs/heads/master: 4e24ffa4d9fed762147c954755f8cb124e85740a
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/core/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh,
unsigned char *prev_tail;

prev_tail = skb_tail_pointer(skb);
NLA_PUT(skb, type, len, data);
if (nla_put(skb, type, len, data))
goto nla_put_failure;
nlh->nlmsg_len += skb_tail_pointer(skb) - prev_tail;
return 0;

Expand Down

0 comments on commit f747a74

Please sign in to comment.