Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369765
b: refs/heads/master
c: 50754d2
h: refs/heads/master
i:
  369763: 87dd84d
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Apr 27, 2013
1 parent 9df3ffb commit ce3d5f7
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 78d0b11dcedb21ee432d19eed1a3fa03e8f95353
refs/heads/master: 50754d2188b04a679a249fb57751542643a436e0
5 changes: 3 additions & 2 deletions trunk/net/netlink/genetlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ static int genl_family_rcv_msg(struct genl_family *family,
err = nlmsg_parse(nlh, hdrlen, attrbuf, family->maxattr,
ops->policy);
if (err < 0)
return err;
goto out;
}

info.snd_seq = nlh->nlmsg_seq;
Expand All @@ -613,14 +613,15 @@ static int genl_family_rcv_msg(struct genl_family *family,
if (family->pre_doit) {
err = family->pre_doit(ops, skb, &info);
if (err)
return err;
goto out;
}

err = ops->doit(skb, &info);

if (family->post_doit)
family->post_doit(ops, skb, &info);

out:
if (family->parallel_ops)
kfree(attrbuf);

Expand Down

0 comments on commit ce3d5f7

Please sign in to comment.