netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] net: implement auto-loading of generic netlink modules
@ 2012-05-29 19:30 Neil Horman
  2012-05-29 19:30 ` [PATCH 1/3] net: add MODULE_ALIAS_NET_PF_PROTO_NAME Neil Horman
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Neil Horman @ 2012-05-29 19:30 UTC (permalink / raw)
  To: netdev; +Cc: Neil Horman, Eric Dumazet, James Chapman, David Miller


Eric D. recently noted that the drop_monitor module didn't autoload when the
dropwatch user space utility started.  Looking into this I noted that theres no
formal macro set to define module aliases that can be used by a request module
call in the generic netlink family lookup path.  Currenlty the
net-pf-*-proto-*-type-<n> format is used, but the macros which form this expect
<n> to be a well defined integer, which generic netlink doesn't use for family
definitions.  So this series creates a new macro that create a
net-pf-*-proto-*-name format where name can be any arbitrary string, allowing us
to apend family-<x> where x is a generic netlink family name.  With these
macros, we can easily autoload modules that register generic netlink families

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: James Chapman <jchapman@katalix.com>
CC: David Miller <davem@davemloft.net>

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

end of thread, other threads:[~2012-05-30  2:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 19:30 [PATCH 0/3] net: implement auto-loading of generic netlink modules Neil Horman
2012-05-29 19:30 ` [PATCH 1/3] net: add MODULE_ALIAS_NET_PF_PROTO_NAME Neil Horman
2012-05-29 19:30 ` [PATCH 2/3] genetlink: Build a generic netlink family module alias Neil Horman
2012-05-29 19:30 ` [PATCH 3/3] drop_monitor: Add module alias to enable automatic module loading Neil Horman
2012-05-30  2:34 ` [PATCH 0/3] net: implement auto-loading of generic netlink modules 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).