drop_monitor: Add module alias to enable automatic module loading
authorNeil Horman <nhorman@tuxdriver.com>
Tue, 29 May 2012 09:30:42 +0000 (09:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 May 2012 02:33:56 +0000 (22:33 -0400)
Now that we have module alias macros for generic netlink families, lets use
those to mark modules with the appropriate family names for loading

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c

index 3252e7e..ea5fb9f 100644 (file)
@@ -468,3 +468,4 @@ module_exit(exit_net_drop_monitor);
 
 MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Neil Horman <nhorman@tuxdriver.com>");
+MODULE_ALIAS_GENL_FAMILY("NET_DM");