Skip to content

net: pktgen: fix race between pktgen_thread_worker() and kthread_stop()

Oleg Nesterov lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: pktgen: fix race between pktgen_thread_worker() and kthread_stop()net/core/pktgen.c+3 -10 replies
2/2net: pktgen: kill the "Wait for kthread_stop" code in pktgen_thread_worker()net/core/pktgen.c+2 -90 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] net: pktgen: fix race between pktgen_thread_worker() and kthread_stop()

Hello,

I am not familiar with this code and I have no idea how to test these changes, so 2/2 comes as a separate change. 1/2 looks like the obvious bugfix, and probably candidate for -stable.

Oleg.

 net/core/pktgen.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)