Commit c546627
rconn: Fix fd leak when close monitor.
Prior to the patch, the last monitor vconn copied to the deleted one,
causing the monitor fd to be leaked, the patch fixes it.
Also update tests to cover this issue.
Signed-off-by: Chandler Wu <chandler0149@gmail.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>1 parent a04b2a4 commit c546627
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1285 | 1285 | | |
1286 | 1286 | | |
1287 | 1287 | | |
| 1288 | + | |
1288 | 1289 | | |
1289 | 1290 | | |
1290 | 1291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3293 | 3293 | | |
3294 | 3294 | | |
3295 | 3295 | | |
3296 | | - | |
3297 | | - | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
3298 | 3300 | | |
3299 | 3301 | | |
3300 | 3302 | | |
| |||
3306 | 3308 | | |
3307 | 3309 | | |
3308 | 3310 | | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
3309 | 3314 | | |
3310 | 3315 | | |
3311 | 3316 | | |
| |||
0 commit comments