OpenCloudOS-Kernel/drivers/net/netdevsim
Taehee Yoo a5bbcbf290 netdevsim: set .owner to THIS_MODULE
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.

Fixes: 82c93a87bf ("netdevsim: implement couple of testing devlink health reporters")
Fixes: 424be63ad8 ("netdevsim: add UDP tunnel port offload support")
Fixes: 4418f862d6 ("netdevsim: implement support for devlink region and snapshots")
Fixes: d3cbb907ae ("netdevsim: add ACL trap reporting cookie as a metadata")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Link: https://lore.kernel.org/r/20201115103041.30701-1-ap420073@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-17 14:08:59 -08:00
..
Makefile netdevsim: add pause frame stats 2020-09-15 13:26:28 -07:00
bpf.c bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commands 2020-07-25 20:37:02 -07:00
bus.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dev.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00
ethtool.c netdevsim: fix duplicated debugfs directory 2020-09-26 14:19:08 -07:00
fib.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
health.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00
ipsec.c net: netdevsim: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
netdev.c netdevsim: add pause frame stats 2020-09-15 13:26:28 -07:00
netdevsim.h netdevsim: support the static IANA VXLAN port flag 2020-09-28 12:50:12 -07:00
udp_tunnels.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00