Commit 29f51ff
committed
fix: hold link_lock when freeing duplicate local LinkTable
Prevent race conditions where concurrent `releasedir` calls could
free and set `next_table` to NULL in the window between unlocking
and relocking. Since `LinkTable_free` only operates on the local,
unattached duplicate table, it does not require dropping
`link_lock`.1 parent 796fbb9 commit 29f51ff
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
975 | | - | |
976 | 975 | | |
977 | | - | |
978 | 976 | | |
979 | 977 | | |
980 | 978 | | |
| |||
1097 | 1095 | | |
1098 | 1096 | | |
1099 | 1097 | | |
1100 | | - | |
1101 | 1098 | | |
1102 | | - | |
1103 | 1099 | | |
1104 | 1100 | | |
1105 | 1101 | | |
| |||
0 commit comments