Re: [PATCH] [IPV4] Fix secondary IP addresses after promotion
From: Brian Pomerantz <hidden>
Date: 2005-11-16 19:21:13
Also in:
lkml
From: Brian Pomerantz <hidden>
Date: 2005-11-16 19:21:13
Also in:
lkml
On Tue, Nov 08, 2005 at 03:11:15PM +0100, Patrick McHardy wrote:
Yes, fixing it correctly looks very hard. Just changing the routes doesn't seem right to me, someone might have added it with exactly this prefsrc and doesn't want it to change, its also not clear how to notify on this. Taking care of correct ordering of the ifa_list is also more complicated without just deleting and readding them. I have a patch to do this, but it needs some debugging, for some unknown reason it crashes sometimes if I remove addresses without specifying the mask.
Looks like I'm back on this one because just sending the NETDEV_UP for the secondaries didn't work if a primary other than the first one is removed. If you have anything that you need help testing/debugging, I'm stuck with this until it is fixed. I'd prefer not to duplicate effort on this if you're close to a fix. If not, then I'll try to come up with something and toss it out for comment. BAPper