patch-2.1.117 linux/drivers/net/ppp.c

Next file: linux/drivers/sound/Config.in
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.116/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -1977,8 +1977,8 @@
 	 */
 	skb->dev      = ppp2dev(ppp);	/* We are the device */
 	skb->protocol = htons(proto);
-	skb->mac.raw  = skb->data;
 	skb_pull(skb, PPP_HDRLEN);	/* pull off ppp header */
+	skb->mac.raw   = skb->data;
 	ppp->last_recv = jiffies;
 	netif_rx (skb);
 	return 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov