Module Name: src Committed By: ozaki-r Date: Fri May 19 08:53:51 UTC 2017
Modified Files: src/sys/net: if.c if.h src/sys/netinet: ip_carp.c Log Message: Allow CARP to call the link_state_change handler immediately If the handler is delayed because of the indirection call via softint, some operations are executed in reverse and may cause unexpected behaviors. For example, due to the issue a GARP packet wasn't sent on a transition from the BACKUP state to the MASTER state; this happened because IN_IFF_DETACHED flag wasn't cleared on arpannounce, which had been cleared in the link_state_change handler. This fixes an issue reported by sborrill@ on tech-net: http://mail-index.netbsd.org/tech-net/2017/03/14/msg006283.html To generate a diff of this commit: cvs rdiff -u -r1.392 -r1.393 src/sys/net/if.c cvs rdiff -u -r1.238 -r1.239 src/sys/net/if.h cvs rdiff -u -r1.89 -r1.90 src/sys/netinet/ip_carp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.