patch-2.1.23 linux/drivers/net/slip.c

Next file: linux/drivers/net/strip.c
Previous file: linux/drivers/net/ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.22/linux/drivers/net/slip.c linux/drivers/net/slip.c
@@ -111,7 +111,7 @@
 static inline struct slip *
 sl_alloc(void)
 {
-	slip_ctrl_t *slp;
+	slip_ctrl_t *slp = NULL;
 	int i;
 
 	if (slip_ctrls == NULL) return NULL;	/* Master array missing ! */
@@ -1123,7 +1123,7 @@
 	sl_ldisc.write  = NULL;
 	sl_ldisc.ioctl  = (int (*)(struct tty_struct *, struct file *,
 				   unsigned int, unsigned long)) slip_ioctl;
-	sl_ldisc.select = NULL;
+	sl_ldisc.poll   = NULL;
 	sl_ldisc.receive_buf = slip_receive_buf;
 	sl_ldisc.receive_room = slip_receive_room;
 	sl_ldisc.write_wakeup = slip_write_wakeup;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov