From: Patrick McHardy Date: Mon, 15 Aug 2005 02:31:36 +0000 (-0700) Subject: [NETLINK]: Return -EPROTONOSUPPORT in netlink_create() if no kernel socket is registered X-Git-Tag: v2.6.14-rc1~1035^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab33a1711cf60bfb562b1ab89ac9f23d1425e8b1;p=pandora-kernel.git [NETLINK]: Return -EPROTONOSUPPORT in netlink_create() if no kernel socket is registered This is necessary for dynamic number of netlink groups to make sure we know the number of possible groups before bind() is called. With this change pure userspace communication using unused netlink protocols becomes impossible. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed