netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/8] generic netlink multicast group cleanup
@ 2013-11-16 17:03 Johannes Berg
  2013-11-16 17:03 ` [RFC 1/8] genetlink: only pass array to genl_register_family_with_ops() Johannes Berg
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Johannes Berg @ 2013-11-16 17:03 UTC (permalink / raw)
  To: netdev

So I looked at the generic netlink multicast groups, and it turns out
that two users (drop_monitor and quota) abuse the groups.

Making the groups static has multiple benefits from space usage and    
initialization code complexity point of view, but also makes it much
harder to abuse the groups like that again in the future since each
call using them can check the group is actually valid in the family.

johannes

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-11-18 14:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-16 17:03 [RFC 0/8] generic netlink multicast group cleanup Johannes Berg
2013-11-16 17:03 ` [RFC 1/8] genetlink: only pass array to genl_register_family_with_ops() Johannes Berg
2013-11-16 17:03 ` [RFC 2/8] drop_monitor/genetlink: use proper genetlink multicast APIs Johannes Berg
2013-11-17 22:14   ` Neil Horman
2013-11-16 17:03 ` [RFC 3/8] quota/genetlink: " Johannes Berg
2013-11-18 12:34   ` Jan Kara
2013-11-18 12:44     ` Johannes Berg
2013-11-18 14:12       ` Jan Kara
2013-11-18 14:41         ` Johannes Berg
2013-11-16 17:03 ` [RFC 4/8] hsr: don't call genl_unregister_mc_group() Johannes Berg
2013-11-16 17:03 ` [RFC 5/8] genetlink: remove genl_unregister_mc_group() Johannes Berg
2013-11-16 17:03 ` [RFC 6/8] genetlink: remove family pointer from genl_multicast_group Johannes Berg
2013-11-16 17:03 ` [RFC 7/8] genetlink: pass family to genlmsg_multicast() and friends Johannes Berg
2013-11-16 17:03 ` [RFC 8/8] genetlink: make multicast groups const, prevent abuse Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).