summaryrefslogtreecommitdiff
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-10-05 09:17:50 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-05 11:57:11 -0700
commitfda21d46cce2879dbce981978f8cb07b36035369 (patch)
tree9b8049c49b143525c3e511c3b9125dd829a4f801 /crypto/ahash.c
parentf2e9de210d50187d206989e60bc5a99c2b692209 (diff)
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>
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions