commit | 0a3920d28b5490e6c90110156135dbc12c7fc413 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Thu Mar 01 23:05:18 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 04 13:00:57 2018 -0500 |
tree | 7d239d32bbbc7dc99f06dd50f72ee67124536a08 | |
parent | 007b7e18be74a49b61f89664966ac1477e1c9608 [diff] |
sctp: adjust some codes in a better order in sctp_sendmsg sctp_sendmsg_new_asoc and SCTP_ADDR_OVER check is only necessary when daddr is set, so move them up to if (daddr) statement. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>