patch-2.1.112 linux/net/x25/x25_link.c

Next file: linux/Documentation/Configure.help
Previous file: linux/net/x25/x25_in.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.111/linux/net/x25/x25_link.c linux/net/x25/x25_link.c
@@ -264,11 +264,14 @@
 
 /*
  *	Called when the link layer has terminated, or an establishment
- *	request has failed. XXX should tell sockets.
+ *	request has failed.
  */
+
 void x25_link_terminated(struct x25_neigh *neigh)
 {
 	neigh->state = X25_LINK_STATE_0;
+	/* Out of order: clear existing virtual calls (X.25 03/93 4.6.3) */
+	x25_kill_by_neigh(neigh);
 }
 
 /*


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