diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 74a9a32b906d49990f3c2d4e2ccc99a8cf9a0810..4b01496dc33d3439eec32b4fafe74bbcc4538b58 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -129,6 +129,7 @@ #include #include #include +#include #include #include #include @@ -3333,6 +3334,8 @@ static int pktgen_thread_worker(void *arg) t->control &= ~(T_REMDEV); } + try_to_freeze(); + set_current_state(TASK_INTERRUPTIBLE); }