diff options
author | Haiyang Tan <haiyang.tan.dev@gmail.com> | 2018-02-06 11:16:48 -0500 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-08 20:33:17 +0000 |
commit | 2ae5135e4cc47f5be8895486a91ad98be36dd5dd (patch) | |
tree | df317c8f249d3a1ddbf4819d65d2f9363766272f /src/vnet/devices/virtio/device.c | |
parent | b81831d122d59b55c7d42b39e4fd9e94b7d40aca (diff) |
vhostuser: Fix vhostuser file descriptor leak
In the case that vhostuser server accepted more than one client connection,
'vui->clib_file_index' will be overwritten directly without release the possible
existed resource, so file descriptor leak occurs
Change-Id: I89d08133dae31a12a815df2631334dbf0aefeb1e
Signed-off-by: Haiyang Tan <haiyang.tan.dev@gmail.com>
Diffstat (limited to 'src/vnet/devices/virtio/device.c')
0 files changed, 0 insertions, 0 deletions