Skip to content

Fix for bpf_wq retry loop during free

Kumar Kartikeya Dwivedi bpf 1 version Applied

Status from this message: Applied. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: Check for running wq callback when freeing bpf_async_cbkernel/bpf/helpers.c+1 -10 replies
2/2bpf: Reset prog callback in bpf_async_cancel_and_free()kernel/bpf/helpers.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next v1 0/2] Fix for bpf_wq retry loop during free

Small fix and improvement to ensure cancel_work() can handle the case where wq callback is running, and doesn't lead to call_rcu_tasks_trace() repeatedly after failing cancel_work, if wq callback is not pending.

Kumar Kartikeya Dwivedi (2):
bpf: Check for running wq callback when freeing bpf_async_cb
bpf: Reset prog callback in bpf_async_cancel_and_free()

 kernel/bpf/helpers.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

base-commit: 6e951a9b1af5dc063dfe9e17ca433be099527c43

Signature · 1 line
2.47.3