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-23 16:07:00 -05:00
2011-10-31 19:30:30 -04:00
2011-11-06 19:44:47 -08:00
2011-06-09 20:38:07 -07:00
2011-10-10 14:26:16 -04:00
2011-11-12 18:13:32 -05:00
2011-04-22 11:04:14 -07:00
2011-10-18 23:51:30 -04:00
2011-05-05 14:59:02 -07:00
2011-10-31 19:30:30 -04:00
2011-10-31 19:30:30 -04:00
2011-10-31 19:30:30 -04:00
2011-10-13 16:05:07 -04:00
2011-11-23 15:49:31 -05:00
2011-08-06 18:33:19 -07:00
2011-10-19 19:26:16 -04:00
2011-10-31 19:30:30 -04:00
2011-11-08 12:37:06 -05:00
2011-10-28 00:26:00 -04:00
2011-11-14 00:24:06 -05:00
2011-10-31 19:30:30 -04:00
2011-04-22 11:04:14 -07:00
2011-11-28 18:09:13 -05:00
2010-05-11 14:40:55 +02:00
2008-04-05 22:33:38 +09:00
2011-08-24 17:46:15 -07:00
2011-04-22 11:04:14 -07:00
2011-11-23 03:51:54 -05:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:30:30 -04:00
2010-10-27 11:37:31 -07:00
2011-10-31 19:30:30 -04:00
2011-10-31 19:30:30 -04:00
2011-11-26 14:29:51 -05:00
2011-08-20 10:39:12 -07:00
2011-10-21 05:22:42 -04:00
2011-10-31 19:30:30 -04:00
2011-11-23 17:29:23 -05:00
2010-10-25 13:09:45 -07:00
2009-09-30 16:12:20 -07:00
2011-11-01 17:56:14 -04:00
2011-11-06 19:44:47 -08:00
2010-03-25 16:00:49 +01:00
2011-04-22 11:04:14 -07:00
2008-01-28 14:53:52 -08:00
2007-10-10 16:55:54 -07:00
2011-04-22 11:04:14 -07:00
2011-10-18 23:53:10 -04:00
2011-04-22 11:04:14 -07:00
2011-10-31 19:30:30 -04:00
2011-05-24 01:11:51 -04:00