patch-2.4.23 linux-2.4.23/drivers/net/wan/farsync.c
Next file: linux-2.4.23/drivers/net/wan/hd6457x.c
Previous file: linux-2.4.23/drivers/net/wan/dscc4.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/net/wan/farsync.c
- Orig date:
2003-06-13 07:51:35.000000000 -0700
diff -urN linux-2.4.22/drivers/net/wan/farsync.c linux-2.4.23/drivers/net/wan/farsync.c
@@ -764,7 +764,7 @@
/* Push upstream */
skb->mac.raw = skb->data;
skb->dev = hdlc_to_dev ( &port->hdlc );
- skb->protocol = htons ( ETH_P_HDLC );
+ skb->protocol = hdlc_type_trans(skb, skb->dev);
netif_rx ( skb );
port_to_dev ( port )->last_rx = jiffies;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)