From: Yang Hongyang Date: Wed, 28 May 2008 08:27:28 +0000 (+0800) Subject: [IPV6]: Fix the data length of get destination options with short length X-Git-Tag: v2.6.26-rc5~1^2~12^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95b496b66615d8c43f77702049b1bd01e2f06595;p=pandora-kernel.git [IPV6]: Fix the data length of get destination options with short length If get destination options with length which is not enough for that option,getsockopt() will still return the real length of the option, which is larger then the buffer space. This is because ipv6_getsockopt_sticky() returns the real length of the option. This patch fix this problem. Signed-off-by: Yang Hongyang Signed-off-by: YOSHIFUJI Hideaki --- Reading git-diff-tree failed