Eric Dumazet
fda21d46cc
ipv6: do not leave garbage in rt->fib6_metrics
...
In case ip_fib_metrics_init() returns an error, we better
rewrite rt->fib6_metrics with &dst_default_metrics so that
we do not crash later in ip_fib_metrics_put()
Fixes: 767a2217533f ("net: common metrics init helper for FIB entries")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-05 11:57:11 -07:00
..
2018-08-17 17:27:58 -07:00
2018-08-15 15:04:25 -07:00
2018-09-25 10:35:29 -07:00
2018-10-03 21:00:17 -07:00
2018-08-15 15:04:25 -07:00
2018-10-03 21:00:17 -07:00
2018-09-17 18:49:57 -07:00
2018-08-13 17:55:44 +02:00
2018-10-05 00:28:45 -07:00
2018-10-02 15:52:12 -07:00
2018-09-21 19:48:36 -07:00
2018-10-04 09:40:52 -07:00
2018-09-17 08:20:11 -07:00
2018-09-21 19:45:52 -07:00
2018-10-05 11:52:38 -07:00
2018-10-05 11:57:11 -07:00
2018-09-26 09:56:07 -07:00
2018-09-17 18:43:42 -07:00
2018-08-13 20:45:49 -07:00
2018-09-13 09:04:58 -07:00
2018-10-03 21:00:17 -07:00
2018-08-06 11:21:37 +02:00
2018-09-24 12:19:27 -07:00
2018-08-29 19:10:40 -07:00
2018-10-03 21:00:17 -07:00
2018-09-21 18:58:34 -07:00
2018-09-12 00:08:44 -07:00
2018-09-25 10:35:29 -07:00
2018-10-03 21:00:17 -07:00
2018-09-05 22:09:37 -07:00
2018-09-25 10:35:29 -07:00
2018-09-04 21:33:03 -07:00
2018-10-04 09:54:29 +01:00
2018-10-05 00:36:31 -07:00
2018-10-03 21:00:17 -07:00
2018-09-20 07:49:55 -07:00
2018-08-23 16:03:58 -07:00
2018-10-03 21:00:17 -07:00
2018-10-02 23:03:47 -07:00
2018-08-03 16:44:19 -07:00
2018-08-07 12:39:13 -07:00
2018-10-03 21:00:17 -07:00
2018-09-25 13:13:15 -07:00
2018-10-03 21:00:17 -07:00
2018-08-06 10:42:48 -07:00
2018-09-13 16:01:06 -07:00