On Tue, 2002-08-13 at 03:24, master@tentacle.nmd.msu.ru wrote: > I use etherexpress NIC as a bridge port. I have noticed inclusion > of e100 driver into 2.4.20-pre kernel and decided to test it. > It seems to me that promisc mode doesn't work with e100 driver: > tcpdump never shows unicast frames destined to MACs other than > that of the NIC. Here's a fix for this bug. I'll get this into 2.4.20-pre through Jeff Garzik, along with some other (unrelated) fixes. -scott diff -Nuarp linux-2.4.20-pre2/drivers/net/e100/e100_main.c linux-2.4.20-pre2-e100/drivers/net/e100/e100_main.c --- linux-2.4.20-pre2/drivers/net/e100/e100_main.c Fri Aug 16 12:47:23 2002 +++ linux-2.4.20-pre2-e100/drivers/net/e100/e100_main.c Fri Aug 16 12:50:17 2002 @@ -1243,7 +1243,7 @@ e100_set_multi(struct net_device *dev) if (bdp->driver_isolated) { goto exit; } - promisc_enbl = (dev->flags & IFF_PROMISC); + promisc_enbl = ((dev->flags & IFF_PROMISC) == IFF_PROMISC); mulcast_enbl = ((dev->flags & IFF_ALLMULTI) || (dev->mc_count > MAX_MULTICAST_ADDRS)); - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html