[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091113.195709.164224314.davem@davemloft.net>
Date: Fri, 13 Nov 2009 19:57:09 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vladislav.yasevich@...com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org
Subject: Re: [PATCH] sctp: Set source addresses on the association before
adding transports
From: Vlad Yasevich <vladislav.yasevich@...com>
Date: Tue, 10 Nov 2009 13:57:34 -0500
> 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@...com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists