patch-2.3.16 linux/net/khttpd/main.c

Next file: linux/net/lapb/lapb_iface.c
Previous file: linux/net/khttpd/datasending.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/net/khttpd/main.c linux/net/khttpd/main.c
@@ -144,7 +144,7 @@
 			changes +=AcceptConnections(CPUNR,MainSocket);
 		}
 		
-		current->state = TASK_INTERRUPTIBLE|TASK_EXCLUSIVE;	
+		set_current_state(TASK_INTERRUPTIBLE|TASK_EXCLUSIVE);	
 		if (changes==0) 
 		{
 			(void)interruptible_sleep_on_timeout(&(DummyWQ[CPUNR]),1);	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)