netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] genetlink: clean up multicast group APIs
@ 2013-11-19 14:19 Johannes Berg
  2013-11-19 14:19 ` [PATCH 1/9] genetlink: only pass array to genl_register_family_with_ops() Johannes Berg
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Johannes Berg @ 2013-11-19 14:19 UTC (permalink / raw)
  To: netdev

The generic netlink multicast group registration doesn't have to
be dynamic, and can thus be simplified just like I did with the
ops. This removes some complexity in registration code.

Additionally, two users of generic netlink already use multicast
groups in a wrong way, add workarounds for those two to keep the
userspace API working, but at the same time make them not clash
with other users of multicast groups as might happen now.

While making it all a bit easier, also prevent such abuse by adding
checks to the APIs so each family can only use the groups it owns.

johannes

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

end of thread, other threads:[~2013-11-19 21:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19 14:19 [PATCH 0/9] genetlink: clean up multicast group APIs Johannes Berg
2013-11-19 14:19 ` [PATCH 1/9] genetlink: only pass array to genl_register_family_with_ops() Johannes Berg
2013-11-19 14:19 ` [PATCH 2/9] drop_monitor/genetlink: use proper genetlink multicast APIs Johannes Berg
2013-11-19 14:19 ` [PATCH 3/9] quota/genetlink: " Johannes Berg
2013-11-19 14:19 ` [PATCH 4/9] hsr: don't call genl_unregister_mc_group() Johannes Berg
2013-11-19 14:19 ` [PATCH 5/9] genetlink: remove genl_unregister_mc_group() Johannes Berg
2013-11-19 14:19 ` [PATCH 6/9] genetlink: remove family pointer from genl_multicast_group Johannes Berg
2013-11-19 14:19 ` [PATCH 7/9] genetlink: add and use genl_set_err() Johannes Berg
2013-11-19 14:19 ` [PATCH 8/9] genetlink: pass family to functions using groups Johannes Berg
2013-11-19 14:19 ` [PATCH 9/9] genetlink: make multicast groups const, prevent abuse Johannes Berg
2013-11-19 21:40 ` [PATCH 0/9] genetlink: clean up multicast group APIs David Miller

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).