]> git.baikalelectronics.ru Git - kernel.git/commit
nf_conntrack_proto_sctp: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2012 22:51:07 +0000 (18:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2012 22:51:39 +0000 (18:51 -0400)
commitcba5820f45c243949b9b19aada8c63b384b19380
tree6f37d5c7154c50be2d2204349e22afeda4660f6c
parent1b64bfd5a9f426128f1bd26dafb3554e79ebde34
nf_conntrack_proto_sctp: 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_sctp.c