From: patchwork-bot+netdevbpf@kernel.org
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org,
cong.wang@bytedance.com,
syzbot+b54a1ce86ba4a623b7f0@syzkaller.appspotmail.com,
john.fastabend@gmail.com, kgraul@linux.ibm.com
Subject: Re: [Patch net v2] smc: disallow TCP_ULP in smc_setsockopt()
Date: Wed, 05 May 2021 20:00:09 +0000 [thread overview]
Message-ID: <162024480983.22987.1651655428886909235.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210505194048.8377-1-xiyou.wangcong@gmail.com>
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 5 May 2021 12:40:48 -0700 you wrote:
> From: Cong Wang <cong.wang@bytedance.com>
>
> syzbot is able to setup kTLS on an SMC socket which coincidentally
> uses sk_user_data too. Later, kTLS treats it as psock so triggers a
> refcnt warning. The root cause is that smc_setsockopt() simply calls
> TCP setsockopt() which includes TCP_ULP. I do not think it makes
> sense to setup kTLS on top of SMC sockets, so we should just disallow
> this setup.
>
> [...]
Here is the summary with links:
- [net,v2] smc: disallow TCP_ULP in smc_setsockopt()
https://git.kernel.org/netdev/net/c/8621436671f3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2021-05-05 20:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-05 19:40 [Patch net v2] smc: disallow TCP_ULP in smc_setsockopt() Cong Wang
2021-05-05 20:00 ` patchwork-bot+netdevbpf [this message]
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=162024480983.22987.1651655428886909235.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=cong.wang@bytedance.com \
--cc=john.fastabend@gmail.com \
--cc=kgraul@linux.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=syzbot+b54a1ce86ba4a623b7f0@syzkaller.appspotmail.com \
--cc=xiyou.wangcong@gmail.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