commit | 1fbe4b46caca5b01b070af93d513031ffbcc480c | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Wed Jul 08 21:42:13 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 09 15:05:32 2015 -0700 |
tree | 8311322efb11300bcbbeefee9d3a711508b6c56c | |
parent | fecdf8be2d91e04b0a9a4f79ff06499a36f5d14f [diff] |
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: Oleg Nesterov <oleg@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>