From a858d64b7709ca7bd2ee71d66ef3b7190cdcbb7d Mon Sep 17 00:00:00 2001 From: Li Wei Date: Tue, 17 Jul 2012 15:28:59 +0800 Subject: [PATCH] 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-format-patch failed