[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1182338744.3714.59.camel@johannes.berg>
Date: Wed, 20 Jun 2007 13:25:44 +0200
From: Johannes Berg <johannes@...solutions.net>
To: hadi@...erus.ca
Cc: Zhang Rui <rui.zhang@...el.com>, netdev@...r.kernel.org,
lenb@...nel.org
Subject: Re: Fwd: [PATCH] [-mm] ACPI: export ACPI events via netlink
[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
Download attachment "signature.asc" of type "application/pgp-signature" (191 bytes)
Powered by blists - more mailing lists