Thread (14 messages) 14 messages, 3 authors, 2013-11-18

Re: [RFC 3/8] quota/genetlink: use proper genetlink multicast APIs

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2013-11-18 12:44:58

On Mon, 2013-11-18 at 13:34 +0100, Jan Kara wrote:
Ah, sorry for messing that up. When I was writing this, libnl didn't have
support for multicast groups and so I didn't figure out from its documentation
there are any multicast groups at all... I'd also mention that
documentation of generic netlink at
http://www.linuxfoundation.org/collaborate/workgroups/networking/generic_netlink_howto
(pointed to from Documenation/networking/generic_netlink.txt) doesn't
mention anything about multicast groups either. So chances for messing
things up are pretty high...
Bugger. I guess we should take a look at adding something about
multicast groups etc.
Anyway, I'll fix quota_nld (userspace daemon consuming quota netlink
messages) to use multicast groups properly with a fallback to previous
behavior in case that fails (to keep compatibility with older kernels) and
since I don't believe anyone else is using this interface (and even
quota_nld isn't widely used), 
Heh. If you want a different group name, that's fine, I just gave it any
name ... We could call it "events" for example, since the group name is
always qualified by the family name anyway.

I'll remove the comment about it not being really used as well then.
I think we can remove this hack from generic
netlink layer in a couple of years (hurray to a paragraph long
sentence
;).
:)
Thanks for fixing this and you can add:
Acked-by: Jan Kara <jack@suse.cz>
Will do, thanks.

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