From: Thomas Graf Date: Wed, 22 Aug 2007 20:57:39 +0000 (-0700) Subject: [XFRM] netlink: Use nlmsg_new() and type-safe size calculation helpers X-Git-Tag: v2.6.24-rc1~1454^2~777 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7deb2264909ec82ae4696dd73d8ffce6814c9114;p=pandora-kernel.git [XFRM] netlink: Use nlmsg_new() and type-safe size calculation helpers 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed