diff options
author | Patrick McHardy <kaber@trash.net> | 2005-08-14 19:31:36 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 16:00:58 -0700 |
commit | ab33a1711cf60bfb562b1ab89ac9f23d1425e8b1 (patch) | |
tree | abd497f5b7023ff748001d6ef182d74f882f1a07 /net/8021q | |
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>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions