[XFRM] netlink: Use nlmsg_new() and type-safe size calculation helpers
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Aug 2007 20:57:39 +0000 (13:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:22 +0000 (16:48 -0700)
Moves all complex message size calculation into own inlined helper
functions and makes use of the type-safe netlink interface.

Using nlmsg_new() simplifies the calculation itself as it takes care
of the netlink header length by itself.

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

No differences found