Re: [PATCH] cifs: fix IPv6 address length check

Steve French <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
merged

On Tue, Jun 2, 2009 at 5:56 AM, Jeff Layton <[email protected]> wrote:
> 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.




-- 
Thanks,

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.