Peter Memishian wrote:
> > Where do you see the code that sends the INIT-REBOOT in the case of a
> > non-permanent (but still valid) lease?
>
> http://cvs.opensolaris.org/source/xref/on/usr/src/cmd/cmd-inet/sbin/dhcpagent/agent.c#768
>
> though, as I said, I may be missing something and we can't get there
> when we're coming out of hibernation.
How do we get there from SIGTHAW processing? For a SIGTHAW, all I see is
lease validation and adjustment in refresh_ifslist().
Yes, we don't end up back at that point since that's the IPC handler, so
you're right, I don't think we can end up at INIT-REBOOT after a thaw
right now. I believe the adjustment of the expiration time to zero will
eventually put us into dhcp_expire(), which forces us back to DISCOVER
and a brand new transaction. I think Kacheong was originally suggesting
an extension to allow that DISCOVER to request the previous address; at
this point, I'm inclined to agree. Support for rapid commit RFC 4039,
CR 6248044) would probably be a good thing to provide, too, in speeding
up the return to life from a suspend, though I'm not sure how widespread
server support for it is yet.
Dave
_______________________________________________
networking-discuss mailing list
[email protected]