Li Wei 2a38e6d5ae ipv6: Set mcast_hops to IPV6_DEFAULT_MCASTHOPS when -1 was given.
We need to set np->mcast_hops to it's default value at this moment
otherwise when we use it and found it's value is -1, the logic to
get default hop limit doesn't take multicast into account and will
return wrong hop limit(IPV6_DEFAULT_HOPLIMIT) which is for unicast.

Signed-off-by: Li Wei <lw@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-28 18:09:13 -05:00
..
2011-11-12 18:13:32 -05:00
2011-10-13 16:05:07 -04:00
2011-10-19 19:26:16 -04:00
2010-05-11 14:40:55 +02:00
2011-04-22 11:04:14 -07:00
2011-11-23 03:51:54 -05:00
2010-10-25 13:09:45 -07:00