CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2011/03/08 15:53:28

Modified files:
        sys/netinet    : ip_carp.c 

Log message:
Fix a subtle carp reconfiguration problem.
Updating the HMAC from the carp_ioctl call does not see the newly
set IP address in the if_addrlist.  The only chance for carp to see
the new address is via the address-hook callback.  This change moves
the detection of address changes entirely into carp_addr_updated.
Furthermore, only call carp_hmac_prepare for the SIOCSVH case.  This
second bug was the reason why the first one went unnoticed for such
a long time.
Problem found and debugging help by camield@.
OK camield@

Reply via email to