From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: sctp: fix initialization of local source address on accepted ipv6 sockets Date: Thu, 06 Feb 2014 20:40:01 -0800 (PST) Message-ID: <20140206.204001.1307764044699514075.davem@davemloft.net> References: <52F33A02.2040902@nsn.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-sctp@vger.kernel.org, netdev@vger.kernel.org To: matija.glavinic-pecotic.ext@nsn.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:39956 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbaBGEkC (ORCPT ); Thu, 6 Feb 2014 23:40:02 -0500 In-Reply-To: <52F33A02.2040902@nsn.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Matija Glavinic Pecotic Date: Thu, 06 Feb 2014 08:30:10 +0100 > commit efe4208f47f907b86f528788da711e8ab9dea44d: > 'ipv6: make lookups simpler and faster' broke initialization of local source > address on accepted ipv6 sockets. Before the mentioned commit receive address > was copied along with the contents of ipv6_pinfo in sctp_v6_create_accept_sk. > Now when it is moved, it has to be copied separately. > > This also fixes lksctp's ipv6 regression in a sense that test_getname_v6, TC5 - > 'getsockname on a connected server socket' now passes. > > Signed-off-by: Matija Glavinic Pecotic Applied.