netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhengchao Shao <shaozhengchao@huawei.com>
To: <netdev@vger.kernel.org>, <lvs-devel@vger.kernel.org>,
	<netfilter-devel@vger.kernel.org>, <coreteam@netfilter.org>,
	<horms@verge.net.au>, <ja@ssi.bg>, <pablo@netfilter.org>,
	<kadlec@netfilter.org>, <fw@strlen.de>, <davem@davemloft.net>,
	<edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>
Cc: <hans.schillstrom@ericsson.com>, <ebiederm@xmission.com>,
	<weiyongjun1@huawei.com>, <yuehaibing@huawei.com>,
	<shaozhengchao@huawei.com>
Subject: [PATCH net,v2 0/2] fix WARNING when removing file in ipvs
Date: Mon, 31 Oct 2022 20:07:03 +0800	[thread overview]
Message-ID: <20221031120705.230059-1-shaozhengchao@huawei.com> (raw)

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


             reply	other threads:[~2022-10-31 11:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 12:07 Zhengchao Shao [this message]
2022-10-31 12:07 ` [PATCH net,v2 1/2] ipvs: fix WARNING in __ip_vs_cleanup_batch() Zhengchao Shao
2022-10-31 12:07 ` [PATCH net,v2 2/2] ipvs: fix WARNING in ip_vs_app_net_cleanup() Zhengchao Shao
2022-10-31 15:05 ` [PATCH net,v2 0/2] fix WARNING when removing file in ipvs Julian Anastasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221031120705.230059-1-shaozhengchao@huawei.com \
    --to=shaozhengchao@huawei.com \
    --cc=coreteam@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=ebiederm@xmission.com \
    --cc=edumazet@google.com \
    --cc=fw@strlen.de \
    --cc=hans.schillstrom@ericsson.com \
    --cc=horms@verge.net.au \
    --cc=ja@ssi.bg \
    --cc=kadlec@netfilter.org \
    --cc=kuba@kernel.org \
    --cc=lvs-devel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pablo@netfilter.org \
    --cc=weiyongjun1@huawei.com \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).