cvs commit: src/sys/netinet ip_carp.c
glebius at FreeBSD.org
Thu Mar 31 09:33:31 PST 2005
glebius 2005-03-31 17:33:30 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
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
Approved by: re (kensmith)
Revision Changes Path
18.104.22.168 +37 -27 src/sys/netinet/ip_carp.c
More information about the cvs-all