]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'bpf-reject-tcp_nodelay-in-tcp-header-option'
authorMartin KaFai Lau <martin.lau@kernel.org>
Wed, 22 Apr 2026 19:00:23 +0000 (12:00 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 22 Apr 2026 19:59:49 +0000 (12:59 -0700)
commitcd0eb48b38e42ce77955137f633fb78621933870
treea34a7ef5dbb92baf3780719fb96fc4dca9db02f1
parenteb5249b12507246dc959945454cd1be8d7dc3795
parent2c7e33f1fc2e75fcfb4aa5d840bcd2e8b53c1847
Merge branch 'bpf-reject-tcp_nodelay-in-tcp-header-option'

KaFai Wan says:

====================
bpf: Reject TCP_NODELAY in TCP header option

This small patchset is about avoid infinite recursion in TCP header option callbacks
and bpf-tcp-cc callbacks via TCP_NODELAY setsockopt.

v4:
 - Fix the test case for TCP header option callbacks (Martin and Jiayuan)
 - Reject TCP_NODELAY in bpf-tcp-cc callbacks (AI and Martin)
 - Add a test case for bpf-tcp-cc

v3:
 - Remove CONFIG_INET check and add comment (Martin and Jiayuan)
 - Fix the test case (Martin)
 https://lore.kernel.org/bpf/20260417092035.2299913-1-kafai.wan@linux.dev/

v2:
 - Reject TCP_NODELAY in bpf_sock_ops_setsockopt() (AI and Martin)
 https://lore.kernel.org/bpf/20260416112308.1820332-1-kafai.wan@linux.dev/

v1:
 https://lore.kernel.org/bpf/20260414112310.1285783-1-kafai.wan@linux.dev/
====================

Link: https://patch.msgid.link/20260421155804.135786-1-kafai.wan@linux.dev
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>