Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: pktgen: kill the "Wait for kthread_stop" code in pktgen_thread_w…
…orker() 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: Oleg Nesterov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information