]> 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)
commit3491d5090924a787d7f97e9eb165d652f0272284
treea5de3ceb8b1205f6f1eb3cb98fc19e548def3d65
parentcba5820f45c243949b9b19aada8c63b384b19380
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