projects
/
cascardo
/
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
[cascardo/linux.git]
/
net
/
ipv4
/
tcp_metrics.c
diff --git
a/net/ipv4/tcp_metrics.c
b/net/ipv4/tcp_metrics.c
index
ed9c9a9
..
e5f41bd
100644
(file)
--- a/
net/ipv4/tcp_metrics.c
+++ b/
net/ipv4/tcp_metrics.c
@@
-886,7
+886,8
@@
static int tcp_metrics_dump_info(struct sk_buff *skb,
if (tcp_metrics_fill_info(skb, tm) < 0)
goto nla_put_failure;
- return genlmsg_end(skb, hdr);
+ genlmsg_end(skb, hdr);
+ return 0;
nla_put_failure:
genlmsg_cancel(skb, hdr);