net: sctp: refactor active path selection
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 11 Jun 2014 16:19:29 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 19:23:17 +0000 (12:23 -0700)
commitb82e8f31acc7d799638692e65ff017f3e1b6a43d
tree5dfe890048406a67d58ecead0e966a3954c85732
parent67cb9366ff5f99868100198efba5ca88aaa6ad25
net: sctp: refactor active path selection

This patch just refactors and moves the code for the active
path selection into its own helper function outside of
sctp_assoc_control_transport() which is already big enough.
No functional changes here.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c