]> git.baikalelectronics.ru Git - kernel.git/commit
inet_diag: Do not use RTA_PUT() macros
authorThomas Graf <tgraf@suug.ch>
Tue, 26 Jun 2012 23:36:12 +0000 (23:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 22:36:44 +0000 (15:36 -0700)
commit0418181af4d3796eea1fbf4eb69edff3c01f2cde
tree272ab01155287f9b6156c48c0c19c562ea5a5fcd
parent2315f8aafdc1fd9b833fb5bee7caa7bd02fe33bd
inet_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/ipv4/inet_diag.c