bpf: Reject TCP_NODELAY in TCP header option
Status from this message: This series was applied to bpf/bpf.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 2 repliesApplied 4/4
- v32 patches 8 repliesSuperseded
- v22 patches 6 repliesSuperseded
Changes in v4 from the cover letter
- 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
Patches in v4 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: Reject TCP_NODELAY in TCP header option callbacksnet/ | +6 | 1 reply | Applied |
| 2/4 | bpf: Reject TCP_NODELAY in bpf-tcp-ccinclude/ net/ net/ | +26 | 1 reply | Applied |
| 3/4 | selftests/bpf: Test TCP_NODELAY in TCP hdr opt callbackstools/ tools/ | +20 | 0 replies | Applied |
| 4/4 | selftests/bpf: Verify bpf-tcp-cc rejects TCP_NODELAYtools/ tools/ | +16 | 0 replies | Applied |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Jiayuan Chen |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v4 0/4] 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/[email protected]/
v2:
- Reject TCP_NODELAY in bpf_sock_ops_setsockopt() (AI and Martin)
https://lore.kernel.org/bpf/[email protected]/
v1:
https://lore.kernel.org/bpf/[email protected]/
---
KaFai Wan (4):
bpf: Reject TCP_NODELAY in TCP header option callbacks
bpf: Reject TCP_NODELAY in bpf-tcp-cc selftests/bpf: Test TCP_NODELAY in TCP hdr opt callbacks selftests/bpf: Verify bpf-tcp-cc rejects TCP_NODELAY
include/linux/bpf.h | 1 + net/core/filter.c | 30 +++++++++++++++++++ net/ipv4/bpf_tcp_ca.c | 2 +- .../selftests/bpf/prog_tests/bpf_tcp_ca.c | 4 +++ .../bpf/prog_tests/tcp_hdr_options.c | 6 ++++ tools/testing/selftests/bpf/progs/bpf_cubic.c | 12 ++++++++ .../bpf/progs/test_misc_tcp_hdr_options.c | 15 +++++++++- 7 files changed, 68 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0