Commit a56bfa1
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 b672ea1 commit a56bfa1
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 | |
|---|---|---|---|
| |||
3561 | 3561 | | |
3562 | 3562 | | |
3563 | 3563 | | |
3564 | | - | |
3565 | | - | |
| 3564 | + | |
| 3565 | + | |
| 3566 | + | |
| 3567 | + | |
3566 | 3568 | | |
3567 | 3569 | | |
3568 | 3570 | | |
| |||
3574 | 3576 | | |
3575 | 3577 | | |
3576 | 3578 | | |
| 3579 | + | |
| 3580 | + | |
| 3581 | + | |
3577 | 3582 | | |
3578 | 3583 | | |
3579 | 3584 | | |
| |||
0 commit comments