Skip to contentSkip to conversation

bareudp: add module alias

PATCH In review Taehee Yoo 1 participant 1 message Mar 8, 2020

Subsystems (2)
lore
Share & tools
lore

Taehee Yoo

author
#0 lore raw

PATCH 1/3 bareudp: add module alias

In the current bareudp code, there is no module alias. So, RTNL couldn't load bareudp module automatically.

---
 drivers/net/bareudp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/bareudp.c +1 -0
index 15337e9d4fad..b1210b516137 100644
@@ -801,6 +801,7 @@ static void __exit bareudp_cleanup_module(void)
 }
 module_exit(bareudp_cleanup_module);
 
+MODULE_ALIAS_RTNL_LINK("bareudp");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Martin Varghese <[email protected]>");
 MODULE_DESCRIPTION("Interface driver for UDP encapsulated traffic");
Signature · 1 line
2.17.1