Net / pktgen: Fix freezing problem
Subsystems (2)
PATCH 1/1 Net / pktgen: Fix freezing problem
From: Rafael J. Wysocki <[email protected]>
Subject: Net / 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
--- net/core/pktgen.c | 1 + 1 file changed, 1 insertion(+)
net/core/pktgen.c +1 -0
@@ -3524,6 +3524,7 @@ static int pktgen_thread_worker(void *arwait_event_interruptible_timeout (t->queue, t->control !=0 ,HZ /10 ); +try_to_freeze ();continue ; }
From: "Rafael J. Wysocki" <[email protected]>
Date: Thu, 4 Feb 2010 22:50:58 +0100
Quoted 10 lines
From: Rafael J. Wysocki <[email protected]>
Subject: Net / pktgen: Fix freezing problemAdd missing
try_to_freeze()to one of thepktgen_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 <[email protected]>Reported-and-tested-by Ciprian Dorin Craciun <[email protected]>
Applied, thanks a lot.
From: "Rafael J. Wysocki" <[email protected]>
Date: Thu, 4 Feb 2010 22:50:58 +0100
Quoted 10 lines
From: Rafael J. Wysocki <[email protected]>
Subject: Net / pktgen: Fix freezing problemAdd missing
try_to_freeze()to one of thepktgen_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 <[email protected]>Reported-and-tested-by Ciprian Dorin Craciun <[email protected]>
Applied, thanks a lot.
Quoted 19 lines · On Thu, 4 Feb 2010 22:50:58 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
From: Rafael J. Wysocki <[email protected]>
Subject: Net / pktgen: Fix freezing problemAdd missing
try_to_freeze()to one of thepktgen_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 <[email protected]>Reported-and-tested-by Ciprian Dorin Craciun <[email protected]>--- net/core/pktgen.c | 1 + 1 file changed, 1 insertion(+)Index:
linux-2.6/net/core/pktgen.c
===================================================================
net/core/pktgen.c static int pktgen_thread_worker(void *ar · line 3530
Quoted 7 lines
net/core/pktgen.c +1
-0@@ -3524,6 +3524,7 @@ static int pktgen_thread_worker(void *arwait_event_interruptible_timeout (t->queue, t->control !=0 ,HZ /10 ); +try_to_freeze ();continue ; }
Also needed in -stable, IMO.
Quoted 19 lines · On Thu, 4 Feb 2010 22:50:58 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
From: Rafael J. Wysocki <[email protected]>
Subject: Net / pktgen: Fix freezing problemAdd missing
try_to_freeze()to one of thepktgen_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 <[email protected]>Reported-and-tested-by Ciprian Dorin Craciun <[email protected]>--- net/core/pktgen.c | 1 + 1 file changed, 1 insertion(+)Index:
linux-2.6/net/core/pktgen.c
===================================================================
net/core/pktgen.c static int pktgen_thread_worker(void *ar · line 3530
Quoted 7 lines
net/core/pktgen.c +1
-0@@ -3524,6 +3524,7 @@ static int pktgen_thread_worker(void *arwait_event_interruptible_timeout (t->queue, t->control !=0 ,HZ /10 ); +try_to_freeze ();continue ; }
Also needed in -stable, IMO.
Quoted 16 lines · Andrew Morton
Quoted 14 lines · On Thu, 4 Feb 2010 22:50:58 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
From: Rafael J. Wysocki <[email protected]>
Subject: Net / pktgen: Fix freezing problemAdd missing
try_to_freeze()to one of thepktgen_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 <[email protected]>Reported-and-tested-by Ciprian Dorin Craciun <[email protected]>--- net/core/pktgen.c | 1 + 1 file changed, 1 insertion(+)
Quoted 14 lines
net/core/pktgen.c static int pktgen_thread_worker(void *ar · line 3530
Quoted 12 lines
Index:
linux-2.6/net/core/pktgen.c
===================================================================net/core/pktgen.c +1
-0@@ -3524,6 +3524,7 @@ static int pktgen_thread_worker(void *arwait_event_interruptible_timeout (t->queue, t->control !=0 ,HZ /10 ); +try_to_freeze ();continue ; }Also needed in -stable, IMO.
Indeed.
Quoted 16 lines · Andrew Morton
Quoted 14 lines · On Thu, 4 Feb 2010 22:50:58 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
From: Rafael J. Wysocki <[email protected]>
Subject: Net / pktgen: Fix freezing problemAdd missing
try_to_freeze()to one of thepktgen_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 <[email protected]>Reported-and-tested-by Ciprian Dorin Craciun <[email protected]>--- net/core/pktgen.c | 1 + 1 file changed, 1 insertion(+)
Quoted 14 lines
net/core/pktgen.c static int pktgen_thread_worker(void *ar · line 3530
Quoted 12 lines
Index:
linux-2.6/net/core/pktgen.c
===================================================================net/core/pktgen.c +1
-0@@ -3524,6 +3524,7 @@ static int pktgen_thread_worker(void *arwait_event_interruptible_timeout (t->queue, t->control !=0 ,HZ /10 ); +try_to_freeze ();continue ; }Also needed in -stable, IMO.
Indeed.
David Miller
maintainerFrom: Andrew Morton <[email protected]>
Date: Thu, 4 Feb 2010 14:12:39 -0800
Quoted 1 line
Also needed in -stable, IMO.
I'll queue it up, thanks.
David Miller
maintainerFrom: Andrew Morton <[email protected]>
Date: Thu, 4 Feb 2010 14:12:39 -0800
Quoted 1 line
Also needed in -stable, IMO.
I'll queue it up, thanks.