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)
commit57816cbcb827895d10925c6a52b63833087ce0c1
treef27d12c1fd0594ffdc6a61f5862be5c67189f80e
parent7177a3b037c7569c137c2703efe8187fdc4352b8
parent0ca50d12fe46cdf3c0dc9ec5ca98607a52afdc62
Merge branch 'sctp-src-addr'

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>