commit | f84af33138a827dbdf7ee0df2ed82377b43cd1cc | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Thu Mar 01 23:05:10 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 04 13:00:56 2018 -0500 |
tree | 465282d87c6301382b34b001719d4e45f9c6389a | |
parent | e4e31cf07d0ca0722530681a491023ade5571a28 [diff] |
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>