]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d37a536f54e79512fe00f01e962d84935850669
treef27d12c1fd0594ffdc6a61f5862be5c67189f80e
parent1afba073cff105bc22b7e6e1c36cf9c7379f4966
parent81dca35d9d3f01fa806e5fb18e720bab17eb13e9
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>