]> git.baikalelectronics.ru Git - kernel.git/commit
unix_diag: Do not use RTA_PUT() macros
authorThomas Graf <tgraf@suug.ch>
Tue, 26 Jun 2012 23:36:10 +0000 (23:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 22:36:43 +0000 (15:36 -0700)
commit18030cec68e1a69e233b7742bcee24e355987a43
tree246bf4a4b41ae1dd28f1b82137b598d4f669120d
parent87d45191f2754157e6af75bf8c8d1d0809476f56
unix_diag: Do not use RTA_PUT() macros

Also, no need to trim on nlmsg_put() failure, nothing has been added
yet.  We also want to use nlmsg_end(), nlmsg_new() and nlmsg_free().

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/diag.c