Xin Long f84af33138 sctp: factor out sctp_sendmsg_to_asoc from sctp_sendmsg
This patch is to move the codes for checking and sending on
one asoc after this asoc has been found or created into
sctp_sendmsg_to_asoc.

Note that 'err != -ESRCH' check is for the case that asoc is
freed when waiting for tx buffer in sctp_sendmsg_to_asoc.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-04 13:00:56 -05:00
..
2018-02-15 14:29:27 -08:00
2018-02-27 11:01:38 -05:00
2017-11-01 12:19:03 +09:00
2018-03-01 21:44:28 -05:00
2018-02-27 11:01:35 -05:00
2017-11-08 16:12:33 +09:00
2018-02-13 10:36:08 -05:00
2018-02-20 13:51:47 -05:00
2018-02-01 09:51:57 -08:00
2018-02-13 10:36:05 -05:00