]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2012 23:59:31 +0000 (19:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 08:33:41 +0000 (04:33 -0400)
commitb7065668608cd512f2300bbb13ef7170f6ca50f5
treef404292a464d2d110330d3c63c29236d2ffc87bd
parent0df02b413a4c0066a5673f3d40b6ce429bb75089
l2tp: 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/l2tp/l2tp_netlink.c