projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gen_stats: Stop using NLA_PUT*().
[deliverable/linux.git]
/
net
/
core
/
gen_stats.c
diff --git
a/net/core/gen_stats.c
b/net/core/gen_stats.c
index 0452eb27a2724dcd3782f5acb15be04e7efba47e..ddedf211e588146f17eb2e147307d04991720170 100644
(file)
--- a/
net/core/gen_stats.c
+++ b/
net/core/gen_stats.c
@@
-27,7
+27,8
@@
static inline int
gnet_stats_copy(struct gnet_dump *d, int type, void *buf, int size)
{
- NLA_PUT(d->skb, type, size, buf);
+ if (nla_put(d->skb, type, size, buf))
+ goto nla_put_failure;
return 0;
nla_put_failure:
This page took
0.036133 seconds
and
5
git commands to generate.