patch-2.4.0-test3 linux/net/ax25/ax25_in.c

Next file: linux/net/ax25/ax25_out.c
Previous file: linux/net/ax25/af_ax25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/net/ax25/ax25_in.c linux/net/ax25/ax25_in.c
@@ -426,7 +426,7 @@
 		}
 	} else {
 		/* Reverse the source SABM's path */
-		*ax25->digipeat = reverse_dp;
+		memcpy(&ax25->digipeat, &reverse_dp, sizeof(ax25_digi));
 	}
 
 	if ((*skb->data & ~AX25_PF) == AX25_SABME) {

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