Skip to content

Commit

Permalink
DPDK: Fix for FD leak when start/stop VM in loop
Browse files Browse the repository at this point in the history
A spurious vr_uvh_cl_timer_setup() call was happening which was leaking
fds

Closes-Jira-Bug: CEM-10799
Change-Id: I1a02ba31b747469f8ebab79c603f80b8102238a4
(cherry picked from commit ec8ede8)
  • Loading branch information
hajimohamed committed Dec 5, 2019
1 parent 7233932 commit 33778eb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dpdk/vr_uvhost_msg.c
Expand Up @@ -1064,10 +1064,6 @@ vr_uvh_cl_msg_handler(int fd, void *arg)
* reset the value to -1, so that new fd will be created
*/
vru_cl->vruc_fd = -1;
if (vr_uvh_cl_timer_setup(vru_cl)) {
vr_uvhost_log("Client %s: timer creation failed\n",
uvhm_client_name(vru_cl));
}
}
}
/* clear state for next message from this client. */
Expand Down

0 comments on commit 33778eb

Please sign in to comment.