[XFRM] netlink: Use nla_put()/NLA_PUT() variantes
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Aug 2007 20:55:43 +0000 (13:55 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:20 +0000 (16:48 -0700)
commitc0144beaeca42b643f4d1632f2b24fdc6c48a170
tree352de55fa8ca1bab087bf2d6809310d3d4965249
parent082a1ad573b76c8342c1da9d623aaeb5901e440b
[XFRM] netlink: Use nla_put()/NLA_PUT() variantes

Also makes use of copy_sec_ctx() in another place and removes
duplicated code.

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