diff options
| author | Thomas Graf <[email protected]> | 2012-06-28 03:57:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-06-28 17:56:43 -0700 |
| commit | 58050fce3530939372e6c2f4b4beb76fcb4caa65 (patch) | |
| tree | ee2b85eda9973fed36102dad66f583e43a4a6cab /scripts/patch-kernel | |
| parent | 9f10d3f6f966ef6f6a8d025a4b1d341923d04607 (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