mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
send_buffer is used only once during registration. To reduce runtime memory usage reuse the recv_buffer for registration. Also use NLMSG_LENGTH instead of NLMSG_HDRLEN to take alignment into account. Signed-off-by: Olaf Hering <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>