[NETLINK]: Return -EPROTONOSUPPORT in netlink_create() if no kernel socket is registered
authorPatrick McHardy <kaber@trash.net>
Mon, 15 Aug 2005 02:31:36 +0000 (19:31 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:00:58 +0000 (16:00 -0700)
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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found