netdev
[Top] [All Lists]

Re: IFF_PROMISC bug?

To: Andi Kleen <ak@xxxxxxx>
Subject: Re: IFF_PROMISC bug?
From: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>
Date: Wed, 13 Feb 2002 03:14:55 -0500
Cc: "David S. Miller" <davem@xxxxxxxxxx>, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, kuznet@xxxxxxxxxxxxx
Organization: MandrakeSoft
References: <3C6A0817.B50EFC74@xxxxxxxxxxxxxxxx> <20020212.223929.66060180.davem@xxxxxxxxxx> <3C6A0F32.DE282B67@xxxxxxxxxxxxxxxx> <20020212.234325.59465194.davem@xxxxxxxxxx> <3C6A1EF5.1BF97B99@xxxxxxxxxxxxxxxx> <20020213090932.A7398@xxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Andi Kleen wrote:
> 
> On Wed, Feb 13, 2002 at 03:08:21AM -0500, Jeff Garzik wrote:
> > Can we at least return -EOPNOTSUPPORTED, please?  Otherwise you have the
> > current situation: random binaries breaking when you run them under
> > 2.2.x versus 2.4.x.
> 
> 2.2 behaved the same way. Only 2.0 did differently.

Sorry, that is not what I see with my own testing, and bug reports.

Under 2.2, IFF_PROMISC flag appears and disappears correctly in
/sbin/ifconfig.  Under 2.4, it does not.  I did not test 2.0.

This behavior likewise affects libpcap 0.6.2 (most people have not
upgraded to libpcap 0.7, so I'm told, due to at least a couple bugs in
libpcap)

        Jeff



-- 
Jeff Garzik      | "I went through my candy like hot oatmeal
Building 1024    |  through an internally-buttered weasel."
MandrakeSoft     |             - goats.com

<Prev in Thread] Current Thread [Next in Thread>