Thread (65 messages) 65 messages, 4 authors, 2007-07-04

Re: Fwd: [PATCH] [-mm] ACPI: export ACPI events via netlink

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-06-20 11:24:42

Possibly related (same subject, not in this thread)

[took off acpi list]

On Tue, 2007-06-19 at 12:20 -0400, jamal wrote:
There is one default mcast group per entity. Most users only need that
one.
Ok. That's definitely a bug in nl80211 as we have it in development
right now. Btw, what happens if the group id gets larger than 31?
If you need more, we go one of two ways:
a) Register for multiple IDs with the code as is. 
b) we could add a "reserve multicast group" interface in the kernel.

Thoughts?
I'd really like to be able to reserve multicast groups with special
semantics too, especially I might want to permit/deny non-CAP_NET_ADMIN
users from binding specific multicast groups. That isn't actually
possible with netlink nor genetlink right now afaict.

If we register multiple IDs then we'll end up filling up the generic
netlink family space really soon. I was under the impression that
generic netlink was basically open-ended because the family is a large
enough number, but with this arbitrary limit on multicast groups that's
really not true and we might run out of multicast groups fairly soon
since most users of generic netlink will want at least one...

johannes

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help