Subject: Re: [PATCH] IPv6: Fix the data length of get destination options with short length

From: Wang Chen <[email-masked]>
Date: Wed, 28 May 2008 14:54:12 +0800

Yang Hongyang said the following on 2008-5-28 14:49:
> @@ -832,7 +832,7 @@ static int ipv6_getsockopt_sticky(struct
>     len = min_t(unsigned int, len, ipv6_optlen(hdr));
>     if (copy_to_user(optval, hdr, len))
>         return -EFAULT;
> -    return ipv6_optlen(hdr);
> +    return len;
> }
> 

Yang, your mail client broke tabs to blanks.
Please resubmit.