aboutsummaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-08-14 19:31:36 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:00:58 -0700
commitab33a1711cf60bfb562b1ab89ac9f23d1425e8b1 (patch)
treeabd497f5b7023ff748001d6ef182d74f882f1a07 /net/bridge
parentac6d439d2097b72ea0cbc2322ce1263a38bc1fd0 (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/bridge')
0 files changed, 0 insertions, 0 deletions