Merge branch 'sctp-src-addr'
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 07:20:18 +0000 (00:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 07:20:18 +0000 (00:20 -0700)
Marcelo Ricardo Leitner says:

====================
sctp: fix src address selection if using secondary address

This series improves the way SCTP chooses its src address so that the
choosen one will always belong to the interface being used for output.

v1->v2:
 - split out the refactoring from the fix itself
 - Doing a full reverse routing as in v1 is not necessary. Only looking
   for the interface that has the address and comparing its number is
   enough.
====================

Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge