vhost: fix crash on closing in client mode
[dpdk.git] / lib / librte_vhost / fd_man.h
index 76a42fb..3331bcd 100644 (file)
@@ -44,6 +44,7 @@ int fdset_add(struct fdset *pfdset, int fd,
        fd_cb rcb, fd_cb wcb, void *dat);
 
 void *fdset_del(struct fdset *pfdset, int fd);
+int fdset_try_del(struct fdset *pfdset, int fd);
 
 void *fdset_event_dispatch(void *arg);