Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Neil Horman and committed by
David S. Miller
3fdcbd45 e9412c37

+1
+1
net/core/drop_monitor.c
··· 468 468 469 469 MODULE_LICENSE("GPL v2"); 470 470 MODULE_AUTHOR("Neil Horman <nhorman@tuxdriver.com>"); 471 + MODULE_ALIAS_GENL_FAMILY("NET_DM");