From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank van Maarseveen Subject: [PATCH 0/3] NLM: fix source address in server callbacks Date: Thu, 5 Jul 2007 17:24:15 +0200 Message-ID: <20070705152415.GA6603@janus> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Linux NFS mailing list Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1I6TBp-0002dQ-CF for nfs@lists.sourceforge.net; Thu, 05 Jul 2007 08:24:17 -0700 Received: from frankvm.xs4all.nl ([80.126.170.174] helo=janus.localdomain) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I6TBr-0004Oz-KD for nfs@lists.sourceforge.net; Thu, 05 Jul 2007 08:24:20 -0700 List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net The patch touches three areas so it has been split likewise. The first patch changes the TCP server socket code to save the socket name right after an accept(). This local address of a connection (destination address of a request) is needed for connecting back when doing the callback later. For UDP the address was already saved for RPC replies because UDP is connectionless. This patch is IPv6 clean. The second patch changes the NFS client code to be able to bind not only to a privileged port but also to bind to a specific local address. The client code is used by the server for callbacks. The third patch is the actual NLM fix. -- Frank ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs