mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
e9412c3708
commit
3fdcbd4531
@ -468,3 +468,4 @@ module_exit(exit_net_drop_monitor);
|
|||||||
|
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_AUTHOR("Neil Horman <nhorman@tuxdriver.com>");
|
MODULE_AUTHOR("Neil Horman <nhorman@tuxdriver.com>");
|
||||||
|
MODULE_ALIAS_GENL_FAMILY("NET_DM");
|
||||||
|
Loading…
Reference in New Issue
Block a user