commit | 0d634b0c94c9d8298f24a58e4af56c85dc06bb35 | [log] [tgz] |
---|---|---|
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | Mon May 14 14:34:37 2018 -0300 |
committer | David S. Miller <davem@davemloft.net> | Mon May 14 22:57:14 2018 -0400 |
tree | 9c929ba54bb692bfa50fc7fd704251c12e1eccac | |
parent | b9fd683982c9d190cbccd8a32d885bf84bb4a12d [diff] |
sctp: factor out sctp_outq_select_transport We had two spots doing such complex operation and they were very close to each other, a bit more tailored to here or there. This patch unifies these under the same function, sctp_outq_select_transport, which knows how to handle control chunks and original transmissions (but not retransmissions). Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>