OSDN Git Service

sctp: support non-blocking version of the new sctp_connectx() API
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 1 Jun 2009 16:41:15 +0000 (12:41 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 3 Jun 2009 13:14:47 +0000 (09:14 -0400)
commitc6ba68a26645dbc5029a9faa5687ebe6fcfc53e4
treee47a8f343b7fd0ba0a5d3e49a740d5dbe73e430a
parent9919b455fc00c995ef8141848bdc0709ce50bf36
sctp: support non-blocking version of the new sctp_connectx() API

Prior implementation of the new sctp_connectx() call that returns
an association ID did not work correctly on non-blocking socket.
This is because we could not return both a EINPROGRESS error and
an association id.  This is a new implementation that supports this.

Originally from Ivan Skytte Jørgensen <isj-sctp@i1.dk

Signed-off-by: Ivan Skytte Jørgensen <isj-sctp@i1.dk
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/user.h
net/sctp/associola.c
net/sctp/socket.c