Commit 99a6c65
committed
redirectpolicy: Fix race in marking desired-skiplbs initialized
The desired-skiplbs table may not have been correctly marked initialized
in cases where multiple initializers to the frontends table existed. This
would've prevented the skiplbmap from being pruned by the reconciler.
Fix is easy: keep the 'initWatches' non-nil until we've marked the table
initialized.
Signed-off-by: Jussi Maki <jussi@isovalent.com>1 parent 1e81d0c commit 99a6c65
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
172 | 175 | | |
173 | | - | |
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
| |||
0 commit comments