projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31de3f5
)
bareudp: add module alias
author
Taehee Yoo
<ap420073@gmail.com>
Sun, 8 Mar 2020 01:19:07 +0000
(
01:19
+0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/bareudp.c
b/drivers/net/bareudp.c
index
15337e9
..
b1210b5
100644
(file)
--- 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");