diff --git a/[refs] b/[refs] index 37d07109d4dd..ebf7b265e235 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0e3cea7b3cdb2344919e96b3af33de64736ae3a3 +refs/heads/master: 14ad6647f3c919b4ee987e2058fbc6c10f29bb53 diff --git a/trunk/net/core/gen_stats.c b/trunk/net/core/gen_stats.c index 0452eb27a272..ddedf211e588 100644 --- a/trunk/net/core/gen_stats.c +++ b/trunk/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: