]> git.baikalelectronics.ru Git - kernel.git/commit
nfnetlink_acct: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2012 22:46:29 +0000 (18:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2012 22:46:29 +0000 (18:46 -0400)
commit49369922454834712d7db0890e9246a1a51cfe83
treeabf379d520d4935e70e8bb3b6aec1429e61c313c
parent748aeb5d43bd3546ddfa1e820e2932b2a9711a4e
nfnetlink_acct: 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/netfilter/nfnetlink_acct.c