diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-05-25 14:54:35 +0200 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-05-27 15:55:08 +0200 |
| commit | 347f6285d95c6c802a3efbab107c55d0b83036e3 (patch) | |
| tree | 65bac60d07c148d89287bd23a5b48152e09ab826 /src/ipcpd/unicast/pff/alternate.c | |
| parent | b2dc1d7ec76d86a640b70dea0e92a81e1990f019 (diff) | |
| download | ouroboros-347f6285d95c6c802a3efbab107c55d0b83036e3.tar.gz ouroboros-347f6285d95c6c802a3efbab107c55d0b83036e3.zip | |
ipcpd: Close dt stat_used race vs rib readdir
The stat_used function updated dt.stat[fd].stamp under the per-stat
mutex, released it, then took dt.lock wrlock to bump dt.n_flows. A
concurrent dt_rib_readdir holding dt.lock rdlock between those two
critical sections saw the new stamp but the old n_flows.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/pff/alternate.c')
0 files changed, 0 insertions, 0 deletions
