diff options
| author | Eric Dumazet <[email protected]> | 2018-10-05 16:17:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-10-05 18:57:11 +0000 |
| commit | fda21d46cce2879dbce981978f8cb07b36035369 (patch) | |
| tree | 9b8049c49b143525c3e511c3b9125dd829a4f801 /tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py | |
| parent | udp: gro behind static key (diff) | |
| download | kernel-fda21d46cce2879dbce981978f8cb07b36035369.tar.gz kernel-fda21d46cce2879dbce981978f8cb07b36035369.zip | |
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 <[email protected]>
Reported-by: syzbot <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py')
0 files changed, 0 insertions, 0 deletions
