On sön, 2009-06-07 at 02:10 -0400, Mike Edwards wrote:
[...]
> 'ip addr flush' fails with error
> 'Failed to send flush request: Cannot assign requested address' on first
> try for any given interface. Subsequent invocations appear to work.
[...]
> To replicate: Run 'ip addr flush <dev>', where <dev> is an interface
> that has not yet been flushed. It is unknown whether this bug requires
> a Xen kernel to replicate, or if it happens with other Lenny kernels.
I'm not able to reproduce.
$ sudo rmmod skge
$ sudo modprobe skge
WARNING: All config files need .conf: /etc/modprobe.d/bluez, it will be ignored
in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ibm_acpi.modprobe, it
will be ignored in a future release.
$ sudo ip addr add 1.2.3.4/24 dev skif
$ sudo ip addr show dev skif
28: skif: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:11:d8:94:98:98 brd ff:ff:ff:ff:ff:ff
inet 1.2.3.4/24 scope global skif
$ sudo ip addr flush dev skif
$ echo $?
0
$ sudo ip addr show dev skif
28: skif: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:11:d8:94:98:98 brd ff:ff:ff:ff:ff:ff
More information would be appreciated.
--
Regards,
Andreas Henriksson
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]