Skip to content

Commit eea45da

Browse files
TaeheeYoodavem330
authored andcommitted
bareudp: add module alias
In the current bareudp code, there is no module alias. So, RTNL couldn't load bareudp module automatically. Signed-off-by: Taehee Yoo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 31de3f5 commit eea45da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/bareudp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ static void __exit bareudp_cleanup_module(void)
801801
}
802802
module_exit(bareudp_cleanup_module);
803803

804+
MODULE_ALIAS_RTNL_LINK("bareudp");
804805
MODULE_LICENSE("GPL");
805806
MODULE_AUTHOR("Martin Varghese <[email protected]>");
806807
MODULE_DESCRIPTION("Interface driver for UDP encapsulated traffic");

0 commit comments

Comments
 (0)