patch-1.3.34 linux/drivers/net/pi2.c
Next file: linux/drivers/scsi/fdomain.c
Previous file: linux/drivers/net/README.multicast
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Thu Oct 12 15:43:00 1995
- Orig file:
v1.3.33/linux/drivers/net/pi2.c
- Orig date:
Tue Oct 10 18:46:36 1995
diff -u --recursive --new-file v1.3.33/linux/drivers/net/pi2.c linux/drivers/net/pi2.c
@@ -654,6 +654,7 @@
/* 'skb->data' points to the start of sk_buff data area. */
memcpy(cfix, lp->rcvbuf->data, pkt_len - 1);
skb->protocol=ntohs(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