commit | 78d50217baf36093ab320f95bae0d6452daec85c | [log] [tgz] |
---|---|---|
author | RongQing.Li <roy.qing.li@gmail.com> | Wed Apr 04 16:47:04 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 05 00:00:42 2012 -0400 |
tree | ca39d544f4e2918ade64f0a601ebd6b41cc808f0 | |
parent | 117980c4c994b6fe58e873fe803c9bcdcb4337a3 [diff] |
ipv6: fix array index in ip6_mc_add_src() 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 <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>