patch-2.3.43 linux/net/khttpd/userspace.c

Next file: linux/net/netlink/netlink_dev.c
Previous file: linux/net/khttpd/structure.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/net/khttpd/userspace.c linux/net/khttpd/userspace.c
@@ -216,10 +216,10 @@
 	sock->state = SS_UNCONNECTED;
 
 	req->class	= &Dummy;
-	write_lock_irq(&nsk->callback_lock);
+	write_lock_bh(&nsk->callback_lock);
 	nsk->socket = NULL;
         nsk->sleep  = NULL;
-	write_unlock_irq(&nsk->callback_lock);
+	write_unlock_bh(&nsk->callback_lock);
 
 	tcp_acceptq_queue(sk, req, nsk);	
 

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