Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754017Ab0KAUbi (ORCPT ); Mon, 1 Nov 2010 16:31:38 -0400 Received: from mail.elliptictech.com ([209.217.122.41]:46942 "EHLO mail.ellipticsemi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753434Ab0KAUbh (ORCPT ); Mon, 1 Nov 2010 16:31:37 -0400 X-Greylist: delayed 1373 seconds by postgrey-1.27 at vger.kernel.org; Mon, 01 Nov 2010 16:31:37 EDT Date: Mon, 1 Nov 2010 16:08:22 -0400 From: Nick Bowler To: Chuck Lever Cc: linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH] SUNRPC: Initialize source address if passed-in srcaddr is AF_UNSPEC Message-ID: <20101101200822.GA3598@elliptictech.com> Mail-Followup-To: Chuck Lever , linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org References: <20101101195631.9279.16018.stgit@matisse.1015granger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101101195631.9279.16018.stgit@matisse.1015granger.net> Organization: Elliptic Technologies Inc. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 23 On 2010-11-01 15:58 -0400, Chuck Lever wrote: > Recently xs_bind() was changed so it can't tolerate an AF_UNSPEC > bind address; it needs a fully initialized ANYADDR. We recently fixed > this case in xprtsock.c, but some upper layer protocols seem to assume > that it's OK to pass in an AF_UNSPEC address for the source address. > Catch that case too. > > Signed-off-by: Chuck Lever > --- > > Untested. This one seems to correct the issue. Tested-by: Nick Bowler -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/