netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] sctp: fix src address selection if using secondary address
@ 2015-07-17 15:34 Marcelo Ricardo Leitner
  2015-07-17 15:34 ` [PATCH v2 1/2] sctp: reduce indent level on sctp_v4_get_dst Marcelo Ricardo Leitner
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Marcelo Ricardo Leitner @ 2015-07-17 15:34 UTC (permalink / raw)
  To: netdev, linux-sctp; +Cc: Neil Horman, Vlad Yasevich

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.

Marcelo Ricardo Leitner (2):
  sctp: reduce indent level on sctp_v4_get_dst
  sctp: fix src address selection if using secondary addresses

 net/sctp/protocol.c | 42 +++++++++++++++++++++++++++---------------
 1 file changed, 27 insertions(+), 15 deletions(-)

-- 
2.4.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-21  7:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-17 15:34 [PATCH v2 0/2] sctp: fix src address selection if using secondary address Marcelo Ricardo Leitner
2015-07-17 15:34 ` [PATCH v2 1/2] sctp: reduce indent level on sctp_v4_get_dst Marcelo Ricardo Leitner
2015-07-17 15:34 ` [PATCH v2 2/2] sctp: fix src address selection if using secondary addresses Marcelo Ricardo Leitner
2015-07-20 13:25 ` [PATCH v2 0/2] sctp: fix src address selection if using secondary address Vlad Yasevich
2015-07-20 14:43 ` Neil Horman
2015-07-21  7:20 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).