inet_diag: Move away from NLMSG_PUT().
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 04:28:54 +0000 (21:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 04:28:54 +0000 (21:28 -0700)
commitd106352d9f527fe336749ad89de7e07e5af91a68
tree25cf181cffa863b3c0c0ee985ec1ece01aefbbd9
parent77ca4ed566cdef855bc63d0f4cf4d034182d5ebd
inet_diag: Move away from NLMSG_PUT().

And use nlmsg_data() while we're here too, and remove useless
casts.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c