diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 69d0fd1f39205cfcd8d98b5c3918c0e288db1f6a..b89c7b1a0d09c4866ad0f1b741c254a834b1d64c 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -1380,7 +1380,7 @@ static int connect(struct socket *sock, struct sockaddr *dest, int destlen, /* For now, TIPC does not support the non-blocking form of connect() */ if (flags & O_NONBLOCK) { - res = -EWOULDBLOCK; + res = -EOPNOTSUPP; goto exit; }