Skip to contentSkip to conversation

NFS: Increase size of cl_ipaddr field to hold IPv6 addresses

PATCH In review Chuck Lever 1 participant 1 message Nov 13, 2007

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 3/25 NFS: Increase size of cl_ipaddr field to hold IPv6 addresses

The nfs_client's cl_ipaddr field needs to be larger to hold strings that represent IPv6 addresses.

Cc Aurelien Charbon <[email protected]>

---

 include/linux/nfs_fs_sb.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/nfs_fs_sb.h +1 -1
index 8a3061c..f2a0f20 100644
@@ -63,7 +63,7 @@ struct nfs_client {
 	/* Our own IP address, as a null-terminated string.
 	 * This is used to generate the clientid, and the callback address.
 	 */
-	char			cl_ipaddr[16];
+	char			cl_ipaddr[64];
 	unsigned char		cl_id_uniquifier;
 #endif
 };