X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstream-unix.c;h=6ce7790b541dae2979b97670011b7d0a4bf4921a;hb=b86b43aa485b5ab613ee6853b58f070db35339c9;hp=a5dfd55b898d4935960c13d331cf60176ff10fc1;hpb=58fda1dab104041fc693032475ec4662c1a52849;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));