bpf: net: Fixes in sk_user_data of reuseport_array
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesApplied
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- Avoid ~3UL (Andrii)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: net: Avoid copying sk_user_data of reuseport_array during sk_clonekernel/ | +9 | 3 replies | |
| 2/2 | bpf: net: Avoid incorrect bpf_sk_reuseport_detach callinclude/ kernel/ | +5 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | James Chapman | Jakub Sitnicki |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | A-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 bpf 0/2] bpf: net: Fixes in sk_user_data of reuseport_array
This set fixes two issues on sk_user_data when a sk is added to a reuseport_array.
The first patch is to avoid the sk_user_data being copied
to a cloned sk. The second patch avoids doing bpf_sk_reuseport_detach() on sk_user_data that is not managed by reuseport_array.
Since the changes are mostly related to bpf reuseport_array, so it is currently tagged as bpf fixes.
v2:
- Avoid ~3UL (Andrii)
Martin KaFai Lau (2):
bpf: net: Avoid copying sk_user_data of reuseport_array during
sk_clone
bpf: net: Avoid incorrect bpf_sk_reuseport_detach call
include/net/sock.h | 3 ++- kernel/bpf/reuseport_array.c | 14 ++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-)
Signature · 1 line
2.24.1