From: Thomas Graf Date: Thu, 28 Jun 2012 03:57:45 +0000 (+0000) Subject: net: Use NLMSG_DEFAULT_SIZE in combination with nlmsg_new() X-Git-Tag: v3.6-rc1~125^2~349 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58050fce3530939372e6c2f4b4beb76fcb4caa65;p=pandora-kernel.git net: Use NLMSG_DEFAULT_SIZE in combination with nlmsg_new() Using NLMSG_GOODSIZE results in multiple pages being used as nlmsg_new() will automatically add the size of the netlink header to the payload thus exceeding the page limit. NLMSG_DEFAULT_SIZE takes this into account. Signed-off-by: Thomas Graf Cc: Jiri Pirko Cc: Dmitry Eremin-Solenikov Cc: Sergey Lapin Cc: Johannes Berg Cc: Lauro Ramos Venancio Cc: Aloisio Almeida Jr Cc: Samuel Ortiz Reviewed-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed