Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys/net



Module Name:    src
Committed By:   martin
Date:           Thu May 15 18:01:49 UTC 2025

Modified Files:
        src/sys/net [netbsd-9]: if_bridge.c if_bridgevar.h

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #1953):

        sys/net/if_bridge.c: revision 1.199
        sys/net/if_bridgevar.h: revision 1.40

bridge: resolve a race condition in bridge_stop()
Without BRIDGE_LOCK, the callout can be scheduled after callout_halt.

Note that we should avoid depending on IFF_RUNNING which can be racy.
Suggested by riastradh at

https://mail-index.netbsd.org/source-changes-d/2025/04/16/msg014470.html

PR kern/59340


To generate a diff of this commit:
cvs rdiff -u -r1.164.4.2 -r1.164.4.3 src/sys/net/if_bridge.c
cvs rdiff -u -r1.33 -r1.33.4.1 src/sys/net/if_bridgevar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index