Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90727
b: refs/heads/master
c: 4934c69
h: refs/heads/master
i:
  90725: e52baa7
  90723: 3a385f4
  90719: 913cc5e
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Apr 15, 2008
1 parent fee5b26 commit a457a38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1819b83718dc3fe0aea0a2c3cd48d617e2003606
refs/heads/master: 4934c69a384ede7d0c3009098184554da2063de6
5 changes: 5 additions & 0 deletions trunk/net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,11 @@ static int connect(struct socket *sock, struct sockaddr *dest, int destlen,
if (sock->state == SS_READY)
return -EOPNOTSUPP;

/* For now, TIPC does not support the non-blocking form of connect() */

if (flags & O_NONBLOCK)
return -EWOULDBLOCK;

/* Issue Posix-compliant error code if socket is in the wrong state */

if (sock->state == SS_LISTENING)
Expand Down

0 comments on commit a457a38

Please sign in to comment.