LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

[PATCH net,v2 0/2] fix WARNING when removing file in ipvs

To: <netdev@xxxxxxxxxxxxxxx>, <lvs-devel@xxxxxxxxxxxxxxx>, <netfilter-devel@xxxxxxxxxxxxxxx>, <coreteam@xxxxxxxxxxxxx>, <horms@xxxxxxxxxxxx>, <ja@xxxxxx>, <pablo@xxxxxxxxxxxxx>, <kadlec@xxxxxxxxxxxxx>, <fw@xxxxxxxxx>, <davem@xxxxxxxxxxxxx>, <edumazet@xxxxxxxxxx>, <kuba@xxxxxxxxxx>, <pabeni@xxxxxxxxxx>
Subject: [PATCH net,v2 0/2] fix WARNING when removing file in ipvs
Cc: <hans.schillstrom@xxxxxxxxxxxx>, <ebiederm@xxxxxxxxxxxx>, <weiyongjun1@xxxxxxxxxx>, <yuehaibing@xxxxxxxxxx>, <shaozhengchao@xxxxxxxxxx>
From: Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
Date: Mon, 31 Oct 2022 20:07:03 +0800
When using strace for fault injection, some warnings are trigged when
files are removed. This is because the file fails to be created during
the initialization, but the initialization continues normally. Therefore,
a WARNING is reported when the file is removed during the exit.

---
v2: add macro isolation
---
Zhengchao Shao (2):
  ipvs: fix WARNING in __ip_vs_cleanup_batch()
  ipvs: fix WARNING in ip_vs_app_net_cleanup()

 net/netfilter/ipvs/ip_vs_app.c  | 10 ++++++++--
 net/netfilter/ipvs/ip_vs_conn.c | 26 +++++++++++++++++++++-----
 2 files changed, 29 insertions(+), 7 deletions(-)

-- 
2.17.1


<Prev in Thread] Current Thread [Next in Thread>