]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
SUNRPC: avoid choosing an IPMI port for RPC traffic
authorChuck Lever <chuck.lever@oracle.com>
Wed, 23 Aug 2006 00:06:15 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Aug 2006 19:51:32 +0000 (15:51 -0400)
Some hardware uses port 664 for its hardware-based IPMI listener.  Teach
the RPC client to avoid using that port by raising the default minimum port
number to 665.

Test plan:
Find a mainboard known to use port 664 for IPMI; enable IPMI; mount NFS
servers in a tight loop.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 58e8cb3a035d22fc386e1c53a5d98c3f219530fb commit)

include/linux/sunrpc/xprt.h

index 840e47a4ccc5b55a59c9d6f524fe044625911dc7..3a0cca255b76ee6b1b7ba674c9e52d35bb0e3a9b 100644 (file)
@@ -37,7 +37,7 @@ extern unsigned int xprt_max_resvport;
 
 #define RPC_MIN_RESVPORT       (1U)
 #define RPC_MAX_RESVPORT       (65535U)
-#define RPC_DEF_MIN_RESVPORT   (650U)
+#define RPC_DEF_MIN_RESVPORT   (665U)
 #define RPC_DEF_MAX_RESVPORT   (1023U)
 
 /*