pktgen: Fix freezing problem
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 4 Feb 2010 22:00:41 +0000 (14:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 22:00:41 +0000 (14:00 -0800)
commit1b3f720bf033fde1fbb6231f9b156b918c5f68d8
tree509709296d8e2adc882d4302159b2653b421b55e
parentfeeb2721a7a0bd0cfa5b8847f80aec93aa2cc00d
pktgen: Fix freezing problem

Add missing try_to_freeze() to one of the pktgen_thread_worker() code
paths so that it doesn't block suspend/hibernation.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=15006

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-and-tested-by: Ciprian Dorin Craciun <ciprian.craciun@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c