diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-07-30 15:38:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-31 00:18:14 +0300 |
commit | dd8378b3af57840ef1cc87e416bd0bb35e60d8ec (patch) | |
tree | 154d93d7a0ecde8f5f5bc4644f9452be6ec61fde /net/mac80211 | |
parent | f40f1177c38cb642b65af9f077bc56241e2b41c2 (diff) | |
download | linux-dd8378b3af57840ef1cc87e416bd0bb35e60d8ec.tar.xz |
sctp: clean up __sctp_connect
__sctp_connect is doing quit similar things as sctp_sendmsg_new_asoc.
To factor out common functions, this patch is to clean up their code
to make them look more similar:
1. create the asoc and add a peer with the 1st addr.
2. add peers with the other addrs into this asoc one by one.
while at it, also remove the unused 'addrcnt'.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions