From: Li Wei Date: Tue, 17 Jul 2012 07:28:59 +0000 (+0800) Subject: ipv6: fix unappropriate errno returned for non-multicast address X-Git-Tag: v3.6-rc1~125^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a858d64b7709ca7bd2ee71d66ef3b7190cdcbb7d;p=pandora-kernel.git ipv6: fix unappropriate errno returned for non-multicast address We need to check the passed in multicast address and return appropriate errno(EINVAL) if it is not valid. And it's no need to walk through the ipv6_mc_list in this situation. Signed-off-by: Li Wei Signed-off-by: David S. Miller --- Reading git-diff-tree failed