Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198576
b: refs/heads/master
c: 253683b
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and David S. Miller committed May 24, 2010
1 parent 8e4e7ba commit 1695724
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: eb1669aed950cb5f34622bcceba66bef5980e97a
refs/heads/master: 253683bbfb6bc5864417c8c35cb6ef13b5e259e6
4 changes: 3 additions & 1 deletion trunk/net/core/rtnetlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,10 @@ static int do_setlink(struct net_device *dev, struct ifinfomsg *ifm,
struct nlattr *attr;
int rem;
nla_for_each_nested(attr, tb[IFLA_VFINFO_LIST], rem) {
if (nla_type(attr) != IFLA_VF_INFO)
if (nla_type(attr) != IFLA_VF_INFO) {
err = -EINVAL;
goto errout;
}
err = do_setvfinfo(dev, attr);
if (err < 0)
goto errout;
Expand Down

0 comments on commit 1695724

Please sign in to comment.