On Fri, Sep 30, 2011 at 11:39:14 +0200, Marek Lindner wrote:
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
Fixed the open TODO from v1 with Antonio's help.
I just finished to test the patch in a simple scenario and everything went fine. Therefore I can say:
Acked-by: Antonio Quartulli ordex@autistici.org
Test explained: ---------------
CLIENT |----> NODE_A <----> NODE_B
Node B is the only GW at the beginning, CLIENT issues a DHCP request which is correctly forwarded to NODE_B that correctly replies. Then the link between A and B falls down. In the meanwhile NODE_A becomes a GW and later the link comes up again causing a TQ decrease in both directions (nodes will detect a gap in the orig seqno). The lease time expires for CLIENT (it was set to 120secs) and a DHCP RENEWAL is issued but NODE_A will drop it as there is a better GW (NODE_A) than the old one (NODE_B). Gw propagation rulez!
Cheers,