On Thu, 2006-08-31 at 17:46 -0400, jamal wrote:

> I think it would be valuable to specify a set of flags for filtering
> what gets sent to user space instead of unconditionally.
> 
> Example, 
> filter level 0:
>   - what we have before your patch
> filter level 1:
>   - protocol version
>   - header size
>   - maximum number of attributes
> filter level 2:
>   - the rest of the stuff you have
>  
> What netlink does today to filter at user space is something that can be
> avoided with the above (an improvement in my opinion if you have a lot
> of genl items in the kernel).

What I'd personally like to see for nl80211 if we go there is an actual
filter callback, then I could completely avoid the command I have in
there for getting a command list for a given interface, and just filter
out those commands that some interface doesn't support.

johannes
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to