Paul Jakma wrote:
There is some graceful renumbering going on.
Make sure that new communication avoid the deprecated address. But existing communication can continue to use the deprecated address until the valid lifetime expires.
Other than that first line, those are the semantics we want surely? Transport whose state is inexorably entwined with that prefix is hosed (eg TCP). Shim6 shouldn't be ;). (Nor transports using shim6, eg TCP on top of shim).
Note that for internal communication, TCP continues to work, as long as the prefix stays valid.
But for existing
communication when there isn't an easy way to switch to another address, it isn't clear what to do. (In some cases it might make
sense to reset the ULP connection and recreating it, which will
make it get a non-failed source address, but in other cases it
would be better to wait for the failed address to start working
again.)
Ah, you're working on a "shim6 has intimate knowledge of ULP" model in mind. Yes, things will get tricky that way - which seems a good reason to /not/ do that.
Erik