From: Mike Pecovnik Date: Mon, 24 Feb 2014 20:11:16 +0000 (+0100) Subject: net: Fix permission check in netlink_connect() X-Git-Tag: v3.14-rc6~30^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46833a86f7ab30101096d81117dd250bfae74c6f;p=pandora-kernel.git net: Fix permission check in netlink_connect() 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed