patch-2.4.20 linux-2.4.20/net/irda/af_irda.c
Next file: linux-2.4.20/net/irda/discovery.c
Previous file: linux-2.4.20/net/ipv6/udp.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Thu Nov 28 15:53:16 2002
-  Orig file: 
linux-2.4.19/net/irda/af_irda.c
-  Orig date: 
Fri Aug  2 17:39:46 2002
diff -urN linux-2.4.19/net/irda/af_irda.c linux-2.4.20/net/irda/af_irda.c
@@ -414,6 +414,7 @@
  * hint bits), and then wake up any process waiting for answer...
  */
 static void irda_selective_discovery_indication(discovery_t *discovery,
+						DISCOVERY_MODE mode,
 						void *priv)
 {
 	struct irda_sock *self;
@@ -1290,6 +1291,9 @@
 		/* Check if we are still connected */
 		if (sk->state != TCP_ESTABLISHED)
 			return -ENOTCONN;
+		/* Handle signals */
+		if (signal_pending(current)) 
+			return -ERESTARTSYS;
 	}
 
 	/* Check that we don't send out to big frames */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)