patch-1.3.98 linux/net/ax25/ax25_out.c

Next file: linux/net/ax25/ax25_route.c
Previous file: linux/net/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.97/linux/net/ax25/ax25_out.c linux/net/ax25/ax25_out.c
@@ -405,6 +405,9 @@
 	/* gives better performance on FLEXNET nodes. (Why, Gunter?)	  */
 
 	for (ax25o = ax25_list; ax25o != NULL; ax25o = ax25o->next) {
+		if (ax25o == ax25)
+			continue;
+
 		if (ax25o->device != ax25->device)
 			continue;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this