lkml.org 
[lkml]   [1998]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[FIX] PPP+af_netlink+af_packet >2.1.109 fix. (tcpdump and trafshow)
Hi 

--- ppp.c.kad Sun Aug 2 16:52:18 1998
+++ ppp.c Sun Aug 2 18:28:06 1998
@@ -1977,7 +1977,7 @@
*/
skb->dev = ppp2dev(ppp); /* We are the device */
skb->protocol = htons(proto);
- skb->mac.raw = skb->data;
+ skb->mac.raw = skb->data+PPP_HDRLEN;
skb_pull(skb, PPP_HDRLEN); /* pull off ppp header */
ppp->last_recv = jiffies;
netif_rx (skb);


With best regards,
Alexandr.
---------------------------------------------------------
InterNIC: AK2644 Email: kad@alchevsk.lugansk.ua
Groups: // MFUA // UCL // kad@dgtu.donetsk.ua
---------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.756 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site