CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2019/11/07 00:36:32
Modified files: sys/net : bridgestp.c if.c if_aggr.c if_bpe.c if_bridge.h if_gre.c if_pfsync.c if_tpmr.c if_trunk.c if_trunk.h if_var.h if_vlan.c if_vxlan.c sys/netinet : ip_carp.c Log message: turn the linkstate hooks into a task list, like the detach hooks. this is largely mechanical, except for carp. this moves the addition of the carp link state hook after we're committed to using the new interface as a carpdev. because the add can't fail, we avoid a complicated unwind dance. also, this tweaks the carp linkstate hook so it only updates the relevant carp interface, not all of the carpdevs on the parent. hrvoje popovski has tested an early version of this diff and it's generally ok, but there's some splasserts that this diff fires that i'll fix in an upcoming diff. ok claudio@