]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80b6cc0d309e5b96d14410bfbcfbd03c2f53a12e
tree869d184a3b3734874acb03665a122bd125e10ae8
parentb12e1c006d1da0e9ecbeefdadceed0dced4d9c38
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