From: RongQing.Li Date: Wed, 4 Apr 2012 16:47:04 +0000 (+0000) Subject: ipv6: fix array index in ip6_mc_add_src() X-Git-Tag: v3.2.17~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02c4182997a7f38938b2a606bb3cbe37c73ca203;p=pandora-kernel.git ipv6: fix array index in ip6_mc_add_src() [ Upstream commit 78d50217baf36093ab320f95bae0d6452daec85c ] Convert array index from the loop bound to the loop index. And remove the void type conversion to ip6_mc_del1_src() return code, seem it is unnecessary, since ip6_mc_del1_src() does not use __must_check similar attribute, no compiler will report the warning when it is removed. v2: enrich the commit header Signed-off-by: RongQing.Li Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed