bareudp: add module alias
authorTaehee Yoo <ap420073@gmail.com>
Sun, 8 Mar 2020 01:19:07 +0000 (01:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 04:22:29 +0000 (21:22 -0700)
In the current bareudp code, there is no module alias.
So, RTNL couldn't load bareudp module automatically.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bareudp.c

index 15337e9..b1210b5 100644 (file)
@@ -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 <martin.varghese@nokia.com>");
 MODULE_DESCRIPTION("Interface driver for UDP encapsulated traffic");