X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvconn-unix.c;h=ff01022e8397517f9882d7c291dab38f62542fa4;hb=60cb3eb8b296e2aebbda6ccc161e99ad2bc7ca4a;hp=f24c84640b2a0bfbabc99cf58accc3d415ded6a0;hpb=576e26d7b47f4e53116ef0b5f035d260f426d37b;p=sliver-openvswitch.git diff --git a/lib/vconn-unix.c b/lib/vconn-unix.c index f24c84640..ff01022e8 100644 --- a/lib/vconn-unix.c +++ b/lib/vconn-unix.c @@ -71,6 +71,8 @@ struct vconn_class unix_vconn_class = { NULL, /* connect */ NULL, /* recv */ NULL, /* send */ + NULL, /* run */ + NULL, /* run_wait */ NULL, /* wait */ }; @@ -90,12 +92,6 @@ punix_open(const char *name UNUSED, char *suffix, struct pvconn **pvconnp) return errno; } - error = set_nonblocking(fd); - if (error) { - close(fd); - return error; - } - if (listen(fd, 10) < 0) { error = errno; VLOG_ERR("%s: listen: %s", name, strerror(error));