lkml.org 
[lkml]   [1999]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.2.14pre7 and ethertap
Date
From
> PPxP uses ethertap and it worked well with 2.2.14pre4 or
> earlier, but when I reboot after installation of 2.2.14pre7
> it didn't work.

Does reversing this fix it ?


diff -u --recursive --new-file --exclude=CVS --exclude=.cvsignore ../vanilla/2.2/linux/net/ethernet/eth.c linux/net/ethernet/eth.c
--- ../vanilla/2.2/linux/net/ethernet/eth.c Mon Jan 12 15:28:25 1998
+++ linux/net/ethernet/eth.c Thu Sep 23 12:23:28 1999
@@ -201,7 +201,7 @@
* seems to set IFF_PROMISC.
*/

- else if(dev->flags&(IFF_PROMISC/*|IFF_ALLMULTI*/))
+ else if(1 /*dev->flags&IFF_PROMISC*/)
{
if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN))
skb->pkt_type=PACKET_OTHERHOST;
If so then I actually think the bug is in the application, and this just
tripped it (ethertap used to miss some checks about packets being for its
mac address but the above bug fix also inadvertently cured ethertap 8))

Alan


-
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.tux.org/lkml/

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