Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314266
b: refs/heads/master
c: b3908e2
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Graf authored and David S. Miller committed Jun 14, 2012
1 parent 56d5144 commit 9c4b824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 39912f9cf9603f0de085fb5ba916a7a88010ccd9
refs/heads/master: b3908e22ad8bb6074934496ef171fd83605d7d3e
5 changes: 1 addition & 4 deletions trunk/net/dcb/dcbnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,7 @@ static struct sk_buff *dcbnl_newmsg(int type, u8 cmd, u32 port, u32 seq,
return NULL;

nlh = nlmsg_put(skb, port, seq, type, sizeof(*dcb), flags);
if (!nlh) {
/* header should always fit, allocation must be buggy */
BUG();
}
BUG_ON(!nlh);

dcb = nlmsg_data(nlh);
dcb->dcb_family = AF_UNSPEC;
Expand Down

0 comments on commit 9c4b824

Please sign in to comment.