]> git.baikalelectronics.ru Git - kernel.git/commit
nf_conntrack_proto_gre: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2012 22:52:03 +0000 (18:52 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2012 22:52:03 +0000 (18:52 -0400)
commit5f043d7144b09792350f61c784ed9326b8c2bd61
treea5de3ceb8b1205f6f1eb3cb98fc19e548def3d65
parentc0bdd87963eaf6b5a3f29871eaec42707a24f19d
nf_conntrack_proto_gre: 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/nf_conntrack_proto_gre.c