mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
netlink_sendmsg() was changed to prevent non-root processes from sending messages with dst_pid != 0. netlink_connect() however still only checks if nladdr->nl_groups is set. This patch modifies netlink_connect() to check for the same condition. Signed-off-by: Mike Pecovnik <[email protected]> Signed-off-by: David S. Miller <[email protected]>