diff options
author | Eric Dumazet <[email protected]> | 2023-12-07 20:13:22 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-08 17:16:35 -0800 |
commit | a3c205d0560f63ff02516b6d9fc3348dc34251c8 (patch) | |
tree | beb9833fe01f7d41e843d75cd9abdef8e9215be3 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | bf17b36ccdd5b7b9dd482d7753bcb9aff2d21d39 (diff) |
ipv6: do not check fib6_has_expires() in fib6_info_release()
My prior patch went a bit too far, because apparently fib6_has_expires()
could be true while f6i->gc_link is not hashed yet.
fib6_set_expires_locked() can indeed set RTF_EXPIRES
while f6i->fib6_table is NULL.
Original syzbot reports were about corruptions caused
by dangling f6i->gc_link.
Fixes: 5a08d0065a91 ("ipv6: add debug checks in fib6_info_release()")
Reported-by: [email protected]
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Kui-Feng Lee <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions