]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 00:39:02 +0000 (20:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 08:33:43 +0000 (04:33 -0400)
commit2916d93319fc1e81cc00f638cd0e823b0a932e41
tree107c0e99681a0b26b2e750b3fc7a0b01ba1404aa
parent02c8d2fcf1efd4f2f391ba56ce2778e24e55f0dc
ipv4: 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/ipv4/devinet.c
net/ipv4/fib_rules.c
net/ipv4/fib_semantics.c
net/ipv4/ip_gre.c
net/ipv4/ipmr.c
net/ipv4/route.c