aboutsummaryrefslogtreecommitdiff
path: root/fs/stat.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-06-02 06:55:20 -0400
committerSteve French <sfrench@us.ibm.com>2009-06-02 15:45:40 +0000
commit50b64e3b77d569c217a48e078cd565dbd6462ad0 (patch)
tree2001150788641aad1f4824046d336f0b5d4dd32c /fs/stat.c
parentb96d31a62f714566fa6420851b3bb3615c796322 (diff)
cifs: fix IPv6 address length check
For IPv6 the userspace mount helper sends an address in the "ip=" option. This check fails if the length is > 35 characters. I have no idea where the magic 35 character limit came from, but it's clearly not enough for IPv6. Fix it by making it use the INET6_ADDRSTRLEN #define. While we're at it, use the same #define for the address length in SPNEGO upcalls. Reported-by: Charles R. Anderson <cra@wpi.edu> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions