cvs commit: src/sys/netinet ip_carp.c
glebius at FreeBSD.org
Wed Mar 30 03:44:43 PST 2005
glebius 2005-03-30 11:44:43 UTC
FreeBSD src repository
When several carp interfaces are attached to Ethernet interface,
carp_carpdev_state_locked() is called every time carp interface is attached.
The first call backs up flags of the first interface, and the second
call backs up them again, erasing correct values.
To solve this, a carp_sc_state_locked() function is introduced. It is
called when interface is attached to parent, instead of calling
carp_carpdev_state_locked. carp_carpdev_state_locked() calls
carp_sc_state_locked() for each sc in chain.
Reported by: Yuriy N. Shkandybin, sem
Revision Changes Path
1.22 +37 -27 src/sys/netinet/ip_carp.c
More information about the cvs-src