commit | ab33a1711cf60bfb562b1ab89ac9f23d1425e8b1 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Sun Aug 14 19:31:36 2005 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Aug 29 16:00:58 2005 -0700 |
tree | abd497f5b7023ff748001d6ef182d74f882f1a07 | |
parent | ac6d439d2097b72ea0cbc2322ce1263a38bc1fd0 [diff] |
[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 <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>