On 12/6/18 5:00 PM, Matthias Gatto wrote:
fdset_add can call fdset_shrink_nolock which call fdset_move
concurrently to poll that is call in fdset_event_dispatch.

This patch add a mutex to protect poll from been call at the same time
fdset_add call fdset_shrink_nolock.

Signed-off-by: Matthias Gatto<matthias.ga...@outscale.com>
---
  lib/librte_vhost/fd_man.c | 4 ++++
  lib/librte_vhost/fd_man.h | 1 +
  lib/librte_vhost/socket.c | 1 +
  3 files changed, 6 insertions(+)


Applied to dpdk-next-virtio

Thanks,
Maxime

Reply via email to