Skip to content

Commit 3fdcbd4

Browse files
nhormandavem330
authored andcommitted
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>
1 parent e9412c3 commit 3fdcbd4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/core/drop_monitor.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,3 +468,4 @@ module_exit(exit_net_drop_monitor);
468468

469469
MODULE_LICENSE("GPL v2");
470470
MODULE_AUTHOR("Neil Horman <nhorman@tuxdriver.com>");
471+
MODULE_ALIAS_GENL_FAMILY("NET_DM");

0 commit comments

Comments
 (0)