X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstream-unix.c;h=6ce7790b541dae2979b97670011b7d0a4bf4921a;hb=5e4641a147c3e450a56b199b9066f1af75c2f779;hp=a5dfd55b898d4935960c13d331cf60176ff10fc1;hpb=c34b65c731a1b6dae014efe8895141e5b2fe758a;p=openvswitch diff --git a/lib/stream-unix.c b/lib/stream-unix.c index a5dfd55b..6ce7790b 100644 --- a/lib/stream-unix.c +++ b/lib/stream-unix.c @@ -69,6 +69,8 @@ struct stream_class unix_stream_class = { NULL, /* connect */ NULL, /* recv */ NULL, /* send */ + NULL, /* run */ + NULL, /* run_wait */ NULL, /* wait */ }; @@ -88,12 +90,6 @@ punix_open(const char *name UNUSED, char *suffix, struct pstream **pstreamp) 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));