summaryrefslogtreecommitdiffstats
path: root/drivers/net/bareudp.c
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2020-03-08 02:19:07 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-09 05:22:29 +0100
commiteea45da4036d6d2dc3b7d2f870a0892b72aeeba4 (patch)
tree437583bd56a6457b7ce04878caee0aff7fa55de4 /drivers/net/bareudp.c
parentMerge branch 'cxgb4-chcr-ktls-tx-ofld-support-on-T6-adapter' (diff)
downloadlinux-eea45da4036d6d2dc3b7d2f870a0892b72aeeba4.tar.xz
linux-eea45da4036d6d2dc3b7d2f870a0892b72aeeba4.zip
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>
Diffstat (limited to 'drivers/net/bareudp.c')
-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");