bpf: tcp: Reject TCP_NODELAY from BPF hdr opt callbacks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: tcp: Reject TCP_NODELAY from BPF hdr opt callbacksnet/ | +4 | 2 replies | |
| 2/2 | selftests/bpf: Cover TCP_NODELAY in hdr opt callbacktools/ tools/ | +52 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/2] bpf: tcp: Reject TCP_NODELAY from BPF hdr opt callbacks
This small patchset is about avoid infinite recursion in bpf_skops_hdr_opt_len() via TCP_NODELAY setsockopt.
---
KaFai Wan (2):
bpf: tcp: Reject TCP_NODELAY from BPF hdr opt callbacks selftests/bpf: Cover TCP_NODELAY in hdr opt callback
net/ipv4/tcp.c | 5 ++- .../bpf/prog_tests/tcp_hdr_options.c | 34 +++++++++++++++++++ .../bpf/progs/test_misc_tcp_hdr_options.c | 18 ++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0