Re: IFF_PROMISC bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   From: Jeff Garzik <jgarzik@mandrakesoft.com>
   Date: Wed, 13 Feb 2002 03:08:21 -0500
   
   That little weird thing called binary compatibility.  It is possible to
   support IFF_PROMISC until the end of time, because the NIC promisc bit
   is similarly binary.  The change I propose is to regain what we have
   already lost.

(note: we "lost" this 5 years ago, and nobody has cared all
       this time, keep that in mind :-)
   
How do we handle SIOCSIFFLAGS then?

Do we just cancel out all the counts if we are asked to clear the
IFF_PROMISC bit?  That is definitely wrong, it blows away the entire
intention of having a count in the first place.  Or do we make it act
as a "decrement 1 count"?  That sounds equally lousy to me.

We can't just ignore the request by your very arguments.  Right?
-
: 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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux