From: Thomas Graf Date: Fri, 10 Nov 2006 22:10:15 +0000 (-0800) Subject: [NETLINK]: Do precise netlink message allocations where possible X-Git-Tag: v2.6.20-rc1~34^2~40^2~397 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=339bf98ffc6a8d8eb16fc532ac57ffbced2f8a68;p=pandora-kernel.git [NETLINK]: Do precise netlink message allocations where possible Account for the netlink message header size directly in nlmsg_new() instead of relying on the caller calculate it correctly. Replaces error handling of message construction functions when constructing notifications with bug traps since a failure implies a bug in calculating the size of the skb. Signed-off-by: Thomas Graf Acked-by: Paul Moore Signed-off-by: David S. Miller --- Reading git-diff-tree failed