BPF List
 help / color / mirror / Atom feed
From: Dong Chenchen <dongchenchen2@huawei.com>
To: <edumazet@google.com>, <kuniyu@amazon.com>, <pabeni@redhat.com>,
	<willemb@google.com>, <john.fastabend@gmail.com>,
	<jakub@cloudflare.com>, <davem@davemloft.net>, <kuba@kernel.org>,
	<horms@kernel.org>, <daniel@iogearbox.net>
Cc: <netdev@vger.kernel.org>, <bpf@vger.kernel.org>,
	<stfomichev@gmail.com>, <mrpre@163.com>,
	<xiyou.wangcong@gmail.com>, <zhangchangzhong@huawei.com>,
	<weiyongjun1@huawei.com>,
	Dong Chenchen <dongchenchen2@huawei.com>
Subject: [PATCH net 0/2] bpf, sockmap: Avoid sk_prot reset on sockmap unlink with ULP set
Date: Fri, 14 Mar 2025 16:20:02 +0800	[thread overview]
Message-ID: <20250314082004.2369712-1-dongchenchen2@huawei.com> (raw)

Avoid sk_prot reset on sockmap unlink with ULP set to fix warning on
recurse in sock_map_close().

dongchenchen (2):
  bpf, sockmap: Skip sk_prot ops redo when ulp set
  selftests: bpf: Add case for sockmap_ktls set when verdict attached

 net/core/sock_map.c                           |  2 +-
 .../selftests/bpf/prog_tests/sockmap_ktls.c   | 70 +++++++++++++++++++
 2 files changed, 71 insertions(+), 1 deletion(-)

-- 
2.34.1


             reply	other threads:[~2025-03-14  8:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-14  8:20 Dong Chenchen [this message]
2025-03-14  8:20 ` [PATCH net 1/2] bpf, sockmap: Avoid sk_prot reset on sockmap unlink with ULP set Dong Chenchen
2025-03-19 23:42   ` Cong Wang
2025-03-14  8:20 ` [PATCH net 2/2] selftests: bpf: Add case for sockmap_ktls set when verdict attached Dong Chenchen

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=20250314082004.2369712-1-dongchenchen2@huawei.com \
    --to=dongchenchen2@huawei.com \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jakub@cloudflare.com \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@amazon.com \
    --cc=mrpre@163.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stfomichev@gmail.com \
    --cc=weiyongjun1@huawei.com \
    --cc=willemb@google.com \
    --cc=xiyou.wangcong@gmail.com \
    --cc=zhangchangzhong@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