summaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2015-07-08 21:42:13 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-09 15:05:32 -0700
commit1fbe4b46caca5b01b070af93d513031ffbcc480c (patch)
tree8311322efb11300bcbbeefee9d3a711508b6c56c /tools/scripts
parentfecdf8be2d91e04b0a9a4f79ff06499a36f5d14f (diff)
downloadtalos-op-linux-1fbe4b46caca5b01b070af93d513031ffbcc480c.tar.gz
talos-op-linux-1fbe4b46caca5b01b070af93d513031ffbcc480c.zip
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>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud