aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorThomas Graf <[email protected]>2012-06-28 03:57:45 +0000
committerDavid S. Miller <[email protected]>2012-06-28 17:56:43 -0700
commit58050fce3530939372e6c2f4b4beb76fcb4caa65 (patch)
treeee2b85eda9973fed36102dad66f583e43a4a6cab /scripts/patch-kernel
parent9f10d3f6f966ef6f6a8d025a4b1d341923d04607 (diff)
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 <[email protected]> Cc: Jiri Pirko <[email protected]> Cc: Dmitry Eremin-Solenikov <[email protected]> Cc: Sergey Lapin <[email protected]> Cc: Johannes Berg <[email protected]> Cc: Lauro Ramos Venancio <[email protected]> Cc: Aloisio Almeida Jr <[email protected]> Cc: Samuel Ortiz <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions