Skip to content
Commit 1fbe4b46 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by David S. Miller
Browse files

net: pktgen: kill the "Wait for kthread_stop" code in pktgen_thread_worker()



pktgen_thread_worker() doesn't need to wait for kthread_stop(), it
can simply exit. Just pktgen_create_thread() and pg_net_exit() should
do get_task_struct()/put_task_struct(). kthread_stop(dead_thread) is
fine.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fecdf8be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment