Commit 35be4e2
committed
llmq: pass PeerManager to llmq::CInstantSendManager constructor
Required to avoid crashes when calling RelayInvFiltered in situations
where the PeerManager* atomic hasn't been set (possible when ProcessMessage
isn't called, leaving the value unset, while a separate thread traverses
the ProcessPendingInstantSendLocks > ProcessPendingInstantSendLocks[1] >
ProcessInstantSendLock > RelayInvFiltered call chain).
[1] - There is a function with the exact same name but with multiple
arguments1 parent bfd33cd commit 35be4e2
File tree
4 files changed
+12
-18
lines changed- src
- llmq
4 files changed
+12
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
750 | | - | |
| 750 | + | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | 753 | | |
760 | 754 | | |
761 | 755 | | |
| |||
957 | 951 | | |
958 | 952 | | |
959 | 953 | | |
960 | | - | |
| 954 | + | |
961 | 955 | | |
962 | 956 | | |
963 | 957 | | |
| |||
1051 | 1045 | | |
1052 | 1046 | | |
1053 | 1047 | | |
1054 | | - | |
| 1048 | + | |
1055 | 1049 | | |
1056 | 1050 | | |
1057 | 1051 | | |
1058 | | - | |
| 1052 | + | |
1059 | 1053 | | |
1060 | 1054 | | |
1061 | 1055 | | |
| |||
1068 | 1062 | | |
1069 | 1063 | | |
1070 | 1064 | | |
1071 | | - | |
| 1065 | + | |
1072 | 1066 | | |
1073 | 1067 | | |
1074 | 1068 | | |
| |||
1344 | 1338 | | |
1345 | 1339 | | |
1346 | 1340 | | |
1347 | | - | |
| 1341 | + | |
1348 | 1342 | | |
1349 | 1343 | | |
1350 | 1344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4748 | 4748 | | |
4749 | 4749 | | |
4750 | 4750 | | |
4751 | | - | |
| 4751 | + | |
4752 | 4752 | | |
4753 | 4753 | | |
4754 | 4754 | | |
| |||
0 commit comments