Module Name: src Committed By: skrll Date: Fri Oct 4 10:41:58 UTC 2024
Modified Files: src/sys/dev/ic: bcmgenet.c bcmgenetvar.h Log Message: Fix a problem noted by Taylor... touching if_flags is forbidden in this context (no IFNET_LOCK guaranteed) sc_promisc should be cached when if_flags changes, not when SIOCADDMULTI/SIOCDELMULTI runs by caching if_flags in sc_if_flags via a ifflags_cb. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ic/bcmgenet.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/bcmgenetvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.