projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netlink: make nlmsg_end() and genlmsg_end() void
[deliverable/linux.git]
/
net
/
netlabel
/
netlabel_mgmt.c
diff --git
a/net/netlabel/netlabel_mgmt.c
b/net/netlabel/netlabel_mgmt.c
index e66e977ef2fa0cf3ec52bc2ea3d6604d17de3e47..8b3b789c43c2def93c6f7192a51f75e2074dc143 100644
(file)
--- a/
net/netlabel/netlabel_mgmt.c
+++ b/
net/netlabel/netlabel_mgmt.c
@@
-456,7
+456,8
@@
static int netlbl_mgmt_listall_cb(struct netlbl_dom_map *entry, void *arg)
goto listall_cb_failure;
cb_arg->seq++;
goto listall_cb_failure;
cb_arg->seq++;
- return genlmsg_end(cb_arg->skb, data);
+ genlmsg_end(cb_arg->skb, data);
+ return 0;
listall_cb_failure:
genlmsg_cancel(cb_arg->skb, data);
listall_cb_failure:
genlmsg_cancel(cb_arg->skb, data);
@@
-620,7
+621,8
@@
static int netlbl_mgmt_protocols_cb(struct sk_buff *skb,
if (ret_val != 0)
goto protocols_cb_failure;
if (ret_val != 0)
goto protocols_cb_failure;
- return genlmsg_end(skb, data);
+ genlmsg_end(skb, data);
+ return 0;
protocols_cb_failure:
genlmsg_cancel(skb, data);
protocols_cb_failure:
genlmsg_cancel(skb, data);
This page took
0.027429 seconds
and
5
git commands to generate.