Commit 5f71d45
committed
Merge: geneve: fetching stats vs destroy race
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6932
JIRA: https://issues.redhat.com/browse/RHEL-93467
the device per cpu tstats are destroyed at uninit time, but OVS (and even NL I suspect) could still reach for them even later. Using the core helpers move the stats free at netdevice deallocation time, closing the race.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Approved-by: Guillaume Nault <gnault@redhat.com>
Approved-by: Lenny Szubowicz <lszubowi@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Augusto Caringi <acaringi@redhat.com>1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 331 | | |
336 | | - | |
337 | | - | |
| 332 | + | |
338 | 333 | | |
339 | | - | |
340 | 334 | | |
341 | 335 | | |
342 | 336 | | |
343 | | - | |
344 | 337 | | |
345 | 338 | | |
346 | 339 | | |
| |||
354 | 347 | | |
355 | 348 | | |
356 | 349 | | |
357 | | - | |
358 | 350 | | |
359 | 351 | | |
360 | 352 | | |
| |||
1190 | 1182 | | |
1191 | 1183 | | |
1192 | 1184 | | |
| 1185 | + | |
1193 | 1186 | | |
1194 | 1187 | | |
1195 | 1188 | | |
| |||
0 commit comments