summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2012-05-29 09:30:42 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-29 22:33:56 -0400
commit3fdcbd453152329002f12dfda0be90b714458164 (patch)
tree3ad3719bbb517e47a146242e65b1127fce947062
parente9412c37082b5c932e83364aaed0c38c2ce33acb (diff)
downloadop-kernel-dev-3fdcbd453152329002f12dfda0be90b714458164.zip
op-kernel-dev-3fdcbd453152329002f12dfda0be90b714458164.tar.gz
drop_monitor: Add module alias to enable automatic module loading
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>
-rw-r--r--net/core/drop_monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c
index 3252e7e..ea5fb9f 100644
--- a/net/core/drop_monitor.c
+++ b/net/core/drop_monitor.c
@@ -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");
OpenPOWER on IntegriCloud