On Sun, 8 Nov 2015 21:22:16 +0100 Phil Sutter <p...@nwl.cc> wrote: > The core issue here is that with promote_secondaries sysctl setting > being turned off, removing the primary address implicitly removes all > secondaries as well. Iproute is aware of this and therefore tries to > remove all secondary addresses first to circumvent errors due to > removing non-existent addresses. But this works only if not too many IP > addresses are assigned to an interface, otherwise the RTM_GETADDR > response is split up into multiple buffers. In my test-case, flushing > more than 42 IPv4 addresses was sufficient to trigger an error: > > Failed to send flush request: Cannot assign requested address > > This patch fixes the issue by simply ignoring EADDRNOTAVAIL when > flushing. > > Signed-off-by: Phil Sutter <p...@nwl.cc>
Patch does not apply to current tree. I applied an earlier patch from Neil Horman and this supersedes this. Please redo the patch series. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html