Skip to content

Three fixes for bpf_msg_pull_data

Daniel Borkmann netdev 1 version Applied

Status from this message: Applied to bpf tree, Thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3bpf: fix msg->data/data_end after sg shift repair in bpf_msg_pull_datanet/core/filter.c+2 -30 replies
2/3bpf: fix shift upon scatterlist ring wrap-around in bpf_msg_pull_datanet/core/filter.c+4 -10 replies
3/3bpf: fix sg shift repair start offset in bpf_msg_pull_datanet/core/filter.c+13 -130 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJohn Fastabend
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf 0/3] Three fixes for bpf_msg_pull_data

This set contains three more fixes for the bpf_msg_pull_data() mainly for correcting scatterlist ring wrap-arounds as well as fixing up data pointers. For details please see individual patches. Thanks!

Daniel Borkmann (3):
bpf: fix msg->data/data_end after sg shift repair in bpf_msg_pull_data
bpf: fix shift upon scatterlist ring wrap-around in bpf_msg_pull_data
bpf: fix sg shift repair start offset in bpf_msg_pull_data

 net/core/filter.c | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)
Signature · 1 line
2.9.5