From: Yang Hongyang Date: Mon, 4 Aug 2008 01:16:15 +0000 (-0700) Subject: ipv6: Fix the return value of Set Hop-by-Hop options header with NULL data pointer X-Git-Tag: v2.6.27-rc2~2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb266c0ee0ea0b7bfa8189e3a3a80344dec6112;p=pandora-kernel.git ipv6: Fix the return value of Set Hop-by-Hop options header with NULL data pointer When Set Hop-by-Hop options header with NULL data pointer and optlen is not zero use setsockopt(), the kernel successfully return 0 instead of return error EINVAL or EFAULT. This patch fix the problem. Signed-off-by: Yang Hongyang Signed-off-by: David S. Miller --- Reading git-diff-tree failed