commit | a858d64b7709ca7bd2ee71d66ef3b7190cdcbb7d | [log] [tgz] |
---|---|---|
author | Li Wei <lw@cn.fujitsu.com> | Tue Jul 17 15:28:59 2012 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 17 01:35:03 2012 -0700 |
tree | 363940e9b8d8ffa40624cd9974cc872cab355fd2 | |
parent | c41e4130a248c8220889f6e6636b47595e369386 [diff] |
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 <lw@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>