[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1183719232.3818.109.camel@johannes.berg>
Date: Fri, 06 Jul 2007 12:53:52 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Patrick McHardy <kaber@...sh.net>
Cc: netdev <netdev@...r.kernel.org>, jamal <hadi@...erus.ca>,
Thomas Graf <tgraf@...g.ch>,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: multicasting netlink messages to groups > 31 from userspace
On Thu, 2007-07-05 at 15:37 +0200, Patrick McHardy wrote:
> Earlier filtering makes sense, especially for userspace. The other
> part exceeds my wireless knowledge :)
No worries. I'll see if I can come up with a way to do earlier
filtering, but it's not actually required for the functionality. And the
discussion in the wireless realm still isn't over.
> > No actually having that hook means I can do without multicast groups by
> > just publishing that "send configuration requests to pid N" where N is
> > either 0 (in-kernel MLME) or something else (userspace MLME); I just
> > didn't know the hook existed.
>
>
> Even better. Publishing that to userspace is going to be racy though.
I could instead have userspace always send message to 0 and just
redirect them to the userspace process if present; will have to look
into it. That wouldn't be racy at least, but I think this race is going
to be the least of your worries (if the userspace MLME just died then
you have to completely re-do all configuration anyway, and if it just
started the same)
> The genetlink stuff defintely makes sense. I'll have a closer look at
> your patches this weekend.
Thanks. I know Zhang Rui will definitely appreciate that too :)
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (191 bytes)
Powered by blists - more mailing lists