]> 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)
commit05c9c028f60ea1bfaa4576f4152f33b68b5aeee9
treef27d12c1fd0594ffdc6a61f5862be5c67189f80e
parent2a70060a674e8ebae8fb3797ea91a088ee9c34c1
parent63950f0ff0e3238e91e7572d10795e04498c92fa
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>