]> git.baikalelectronics.ru Git - kernel.git/commit
rtnetlink: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 00:12:00 +0000 (20:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 08:33:42 +0000 (04:33 -0400)
commit08741052ced1d302a67261ca2f369d5708d8ce83
tree62e7baece5a61271c338d4663fa02504af0b0242
parenta8a59bd1654bc99db46a817becbdcb0b24fc7c0a
rtnetlink: 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/rtnetlink.c