From: Chuck Lever Date: Tue, 3 Jan 2006 08:55:51 +0000 (+0100) Subject: SUNRPC: transport switch API for setting port number X-Git-Tag: v2.6.16-rc1~935^2~4^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=922004120b10dcb0ce04b55014168e8a7a8c1a0e;p=pandora-kernel.git SUNRPC: transport switch API for setting port number At some point, transport endpoint addresses will no longer be IPv4. To hide the structure of the rpc_xprt's address field from ULPs and port mappers, add an API for setting the port number during an RPC bind operation. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed