patch-1.3.7 linux/drivers/net/pi2.c

Next file: linux/drivers/net/ppp.c
Previous file: linux/drivers/net/ni52.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.6/linux/drivers/net/pi2.c linux/drivers/net/pi2.c
@@ -567,6 +567,7 @@
 	    memcpy(cfix, (char *) cur_buf->data,
 		   pkt_len - 1);
 	    skb->protocol=htons(ETH_P_AX25);
+	    skb->mac.raw=skb->data;
 	    IS_SKB(skb);
 	    netif_rx(skb);
 	    lp->stats.rx_packets++;

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