Li Wei a858d64b77 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>
2012-07-17 01:35:03 -07:00
..
2012-06-04 11:45:11 -04:00
2012-07-09 00:16:16 -07:00
2012-07-10 22:36:17 +02:00
2012-07-16 22:31:34 -07:00
2012-07-16 22:31:34 -07:00
2012-07-16 23:23:52 -07:00
2012-06-15 15:30:15 -07:00
2012-04-15 12:44:40 -04:00
2012-05-17 18:45:20 -04:00
2012-06-27 15:42:24 -07:00
2012-07-16 23:08:33 -07:00
2012-07-16 22:31:34 -07:00
2010-10-15 15:53:27 +02:00