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

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)