Re: [PATCH] iproute2: Ignore EADDRNOTAVAIL errors during address flush operation

2015-11-23 Thread Stephen Hemminger
On Thu, 5 Nov 2015 14:54:17 -0500 Neil Horman wrote: > I found recently that, if I disabled address promotion in the kernel, that > ip addr flush dev > > would fail with an EADDRNOTAVAIL errno (though the flush operation would in > fact > flush all addresses from an interface properly) > > W

[PATCH] iproute2: Ignore EADDRNOTAVAIL errors during address flush operation

2015-11-05 Thread Neil Horman
I found recently that, if I disabled address promotion in the kernel, that ip addr flush dev would fail with an EADDRNOTAVAIL errno (though the flush operation would in fact flush all addresses from an interface properly) Whats happening is that, if I add a primary and multiple secondary address