summaryrefslogtreecommitdiff
path: root/net/ax25
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2022-10-31 15:07:04 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2022-11-02 11:39:14 +0300
commit3d00c6a0da8ddcf75213e004765e4a42acc71d5d (patch)
treefb7a46b558467cbb0315cf0e96319b3af83cb847 /net/ax25
parent5c26159c97b324dc5174a5713eafb8c855cf8106 (diff)
downloadlinux-3d00c6a0da8ddcf75213e004765e4a42acc71d5d.tar.xz
ipvs: fix WARNING in __ip_vs_cleanup_batch()
During the initialization of ip_vs_conn_net_init(), if file ip_vs_conn or ip_vs_conn_sync fails to be created, the initialization is successful by default. Therefore, the ip_vs_conn or ip_vs_conn_sync file doesn't be found during the remove. The following is the stack information: name 'ip_vs_conn_sync' WARNING: CPU: 3 PID: 9 at fs/proc/generic.c:712 remove_proc_entry+0x389/0x460 Modules linked in: Workqueue: netns cleanup_net RIP: 0010:remove_proc_entry+0x389/0x460 Call Trace: <TASK> __ip_vs_cleanup_batch+0x7d/0x120 ops_exit_list+0x125/0x170 cleanup_net+0x4ea/0xb00 process_one_work+0x9bf/0x1710 worker_thread+0x665/0x1080 kthread+0x2e4/0x3a0 ret_from_fork+0x1f/0x30 </TASK> Fixes: 61b1ab4583e2 ("IPVS: netns, add basic init per netns.") Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ax25')
0 files changed, 0 insertions, 0 deletions