summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2020-03-08 04:19:07 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-09 07:22:29 +0300
commiteea45da4036d6d2dc3b7d2f870a0892b72aeeba4 (patch)
tree437583bd56a6457b7ce04878caee0aff7fa55de4
parent31de3f562f52ada96f3a003989fe6501609e3975 (diff)
downloadlinux-eea45da4036d6d2dc3b7d2f870a0892b72aeeba4.tar.xz
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 <ap420073@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bareudp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bareudp.c b/drivers/net/bareudp.c
index 15337e9d4fad..b1210b516137 100644
--- a/drivers/net/bareudp.c
+++ b/drivers/net/bareudp.c
@@ -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");