Home
last modified time | relevance | path

Searched hist:"1 fbe4b46caca5b01b070af93d513031ffbcc480c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Dpktgen.cdiff 1fbe4b46caca5b01b070af93d513031ffbcc480c Wed Jul 08 14:42:13 CDT 2015 Oleg Nesterov <oleg@redhat.com> 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>