diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-05-02 14:40:31 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-05-17 15:47:56 -0400 |
commit | 4b9c7f9db9a003f5c342184dc4401c1b7f2efb39 (patch) | |
tree | 19314414c6eaef555379274dda137aa24d79a459 /include/linux/sunrpc | |
parent | 181342c5ebe8cc31f75b80ace18ae8a89a0c145a (diff) | |
download | linux-stable-4b9c7f9db9a003f5c342184dc4401c1b7f2efb39.tar.gz linux-stable-4b9c7f9db9a003f5c342184dc4401c1b7f2efb39.tar.bz2 linux-stable-4b9c7f9db9a003f5c342184dc4401c1b7f2efb39.zip |
sunrpc: Update RPCBIND_MAXNETIDLEN
Commit 176e21ee2ec8 ("SUNRPC: Support for RPC over AF_LOCAL
transports") added a 5-character netid, but did not bump
RPCBIND_MAXNETIDLEN from 4 to 5.
Fixes: 176e21ee2ec8 ("SUNRPC: Support for RPC over AF_LOCAL ...")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/msg_prot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/msg_prot.h b/include/linux/sunrpc/msg_prot.h index 807371357160..59cbf16eaeb5 100644 --- a/include/linux/sunrpc/msg_prot.h +++ b/include/linux/sunrpc/msg_prot.h @@ -158,9 +158,9 @@ typedef __be32 rpc_fraghdr; /* * Note that RFC 1833 does not put any size restrictions on the - * netid string, but all currently defined netid's fit in 4 bytes. + * netid string, but all currently defined netid's fit in 5 bytes. */ -#define RPCBIND_MAXNETIDLEN (4u) +#define RPCBIND_MAXNETIDLEN (5u) /* * Universal addresses are introduced in RFC 1833 and further spelled |