gen_stats: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 00:47:35 +0000 (20:47 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 08:33:44 +0000 (04:33 -0400)
commit14ad6647f3c919b4ee987e2058fbc6c10f29bb53
tree869d184a3b3734874acb03665a122bd125e10ae8
parent0e3cea7b3cdb2344919e96b3af33de64736ae3a3
gen_stats: Stop using NLA_PUT*().

These macros contain a hidden goto, and are thus extremely error
prone and make code hard to audit.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/gen_stats.c