patch-2.4.21 linux-2.4.21/net/x25/x25_facilities.c

Next file: linux-2.4.21/net/x25/x25_link.c
Previous file: linux-2.4.21/net/unix/sysctl_net_unix.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/net/x25/x25_facilities.c linux-2.4.21/net/x25/x25_facilities.c
@@ -99,8 +99,8 @@
 
 			case X25_FAC_CLASS_D:
 				printk(KERN_DEBUG "X.25: unknown facility %02X, length %d, values %02X, %02X, %02X, %02X\n", p[0], p[1], p[2], p[3], p[4], p[5]);
-				p   += p[1] + 2;
 				len -= p[1] + 2;
+				p   += p[1] + 2;
 				break;
 		}
 	}

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