Vlad Yasevich 409b95aff3 sctp: Set source addresses on the association before adding transports
Recent commit 8da645e101a8c20c6073efda3c7cc74eec01b87f
	sctp: Get rid of an extra routing lookup when adding a transport
introduced a regression in the connection setup.  The behavior was

different between IPv4 and IPv6.  IPv4 case ended up working because the
route lookup routing returned a NULL route, which triggered another
route lookup later in the output patch that succeeded.  In the IPv6 case,
a valid route was returned for first call, but we could not find a valid
source address at the time since the source addresses were not set on the
association yet.  Thus resulted in a hung connection.

The solution is to set the source addresses on the association prior to
adding peers.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-13 19:56:50 -08:00
..
2009-09-23 22:26:32 +09:30
2009-10-19 19:36:49 -07:00
2009-10-30 12:25:12 -07:00
2009-09-26 20:16:15 -07:00
2009-11-06 00:50:39 -08:00
2009-10-30 12:25:12 -07:00
2009-09-02 01:03:53 -07:00
2009-09-30 16:41:34 -07:00
2009-08-04 16:44:23 -04:00
2009-11-05 20:56:07 -08:00
2009-10-11 23:03:47 -07:00
2009-11-02 15:14:07 -05:00
2009-09-02 01:03:53 -07:00