NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59340 CVS commit: src/sys/net
The following reply was made to PR kern/59340; it has been noted by GNATS.
From: "Ryota Ozaki" <ozaki-r%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59340 CVS commit: src/sys/net
Date: Tue, 22 Apr 2025 05:47:51 +0000
Module Name: src
Committed By: ozaki-r
Date: Tue Apr 22 05:47:51 UTC 2025
Modified Files:
src/sys/net: if_bridge.c if_bridgevar.h
Log Message:
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.198 -r1.199 src/sys/net/if_bridge.c
cvs rdiff -u -r1.39 -r1.40 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