patch-2.3.1 linux/drivers/net/ppp.c

Next file: linux/drivers/net/shaper.c
Previous file: linux/drivers/net/ibmtr.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -2834,7 +2834,7 @@
 	ppp->magic = PPP_MAGIC;
 	ppp->next = NULL;
 	ppp->inuse = 1;
-	ppp->read_wait = NULL;
+	init_waitqueue_head(&ppp->read_wait);
 
 	/*
 	 * Make up a suitable name for this device

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