| From stable-bounces@linux.kernel.org Thu Sep 7 17:10:17 2006 |
| From: Chuck Lever <chuck.lever@oracle.com> |
| Date: Thu, 07 Sep 2006 20:09:39 -0400 |
| To: stable@kernel.org |
| Message-Id: <20060908000938.10655.79153.stgit@lade.trondhjem.org> |
| Subject: SUNRPC: avoid choosing an IPMI port for RPC traffic |
| |
| From: Chuck Lever <chuck.lever@oracle.com> |
| |
| 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> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
| |
| --- |
| include/linux/sunrpc/xprt.h | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- linux-2.6.17.13.orig/include/linux/sunrpc/xprt.h |
| +++ linux-2.6.17.13/include/linux/sunrpc/xprt.h |
| @@ -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) |
| |
| /* |