bpf: Fix bugs in sock_ops samples
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyIn review
- v16 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | bpf: Fix tcp_synrto_kern.c sample programsamples/ | +4 | 0 replies | |
| 2/6 | bpf: Fix tcp_rwnd_kern.c sample programsamples/ | +4 | 0 replies | |
| 3/6 | bpf: Fix tcp_bufs_kern.c sample programsamples/ | +8 | 0 replies | |
| 4/6 | bpf: Fix tcp_cong_kern.c sample programsamples/ | +4 | 0 replies | |
| 5/6 | bpf: Fix tcp_iw_kern.c sample programsamples/ | +8 | 0 replies | |
| 6/6 | bpf: Fix tcp_clamp_kern.c sample programsamples/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net-next v2 0/6] bpf: Fix bugs in sock_ops samples
The programs were returning -1 in some cases when they should only return 0 or 1. Changes in the verifier now catch this issue and the programs fail to load. This is now fixed.
[PATCH net-next v2 1/6] bpf: Fix tcp_synrto_kern.c sample program [PATCH net-next v2 2/6] bpf: Fix tcp_rwnd_kern.c sample program [PATCH net-next v2 3/6] bpf: Fix tcp_bufs_kern.c sample program [PATCH net-next v2 4/6] bpf: Fix tcp_cong_kern.c sample program [PATCH net-next v2 5/6] bpf: Fix tcp_iw_kern.c sample program [PATCH net-next v2 6/6] bpf: Fix tcp_clamp_kern.c sample program
samples/bpf/tcp_bufs_kern.c | 14 ++++++++------ samples/bpf/tcp_clamp_kern.c | 24 +++++++++++++----------- samples/bpf/tcp_cong_kern.c | 6 ++++-- samples/bpf/tcp_iw_kern.c | 14 ++++++++------ samples/bpf/tcp_rwnd_kern.c | 6 ++++-- samples/bpf/tcp_synrto_kern.c | 6 ++++--
files changed, 41 insertions(+), 29 deletions(-)