diff options
author | 2011-03-08 22:53:28 +0000 | |
---|---|---|
committer | 2011-03-08 22:53:28 +0000 | |
commit | 00625e26731b690aa323e356059ae31dcf663d7c (patch) | |
tree | ff5549aae07e3908026805245c21431fcaaed6b0 /sys/dev/pci | |
parent | Fix compiler warning from recent HANDLE_PRAGMA_PACK_PUSH_POP addition. (diff) | |
download | wireguard-openbsd-00625e26731b690aa323e356059ae31dcf663d7c.tar.xz wireguard-openbsd-00625e26731b690aa323e356059ae31dcf663d7c.zip |
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@
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions