Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255661
b: refs/heads/master
c: 4003b65
h: refs/heads/master
i:
  255659: 312818e
v: v3
  • Loading branch information
John Fastabend authored and David S. Miller committed Jun 21, 2011
1 parent 39d2039 commit d29f899
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab6baf980b095c70a56c5eb2f58166aef8a0edc8
refs/heads/master: 4003b65871c101eb5ce8f37a325feac54aa5c681
3 changes: 3 additions & 0 deletions trunk/net/dcb/dcbnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,9 @@ static int dcbnl_ieee_set(struct net_device *netdev, struct nlattr **tb,
if (!ops)
return err;

if (!tb[DCB_ATTR_IEEE])
return -EINVAL;

err = nla_parse_nested(ieee, DCB_ATTR_IEEE_MAX,
tb[DCB_ATTR_IEEE], dcbnl_ieee_policy);
if (err)
Expand Down

0 comments on commit d29f899

Please sign in to comment.