David S. Miller
bb3c36863e
ipv6: Check dest prefix length on original route not copied one in rt6_alloc_cow().
...
After commit 8e2ec639173f325977818c45011ee176ef2b11f6 ("ipv6: don't
use inetpeer to store metrics for routes.") the test in rt6_alloc_cow()
for setting the ANYCAST flag is now wrong.
'rt' will always now have a plen of 128, because it is set explicitly
to 128 by ip6_rt_copy.
So to restore the semantics of the test, check the destination prefix
length of 'ort'.
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-13 17:35:06 -05:00
..
2011-11-23 16:07:00 -05:00
2011-10-31 19:30:30 -04:00
2011-12-12 18:48:18 -05: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-12-13 17:35:06 -05:00
2011-12-12 18:50:51 -05: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-12-01 14:12:55 -05: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