diff options
author | Leandro Lupori <luporl@FreeBSD.org> | 2019-04-23 17:11:45 +0000 |
---|---|---|
committer | Leandro Lupori <luporl@FreeBSD.org> | 2019-04-23 17:11:45 +0000 |
commit | 892004367486a6cc0753481a2551b5a518894e53 (patch) | |
tree | 2757528de6c07e6a4ab7963d429f54b9a3e1dfdb /sys/netinet6/ip6_id.c | |
parent | a9f7f192422c95997d8230c26cdd4b679ae7fa78 (diff) | |
download | src-892004367486a6cc0753481a2551b5a518894e53.tar.gz src-892004367486a6cc0753481a2551b5a518894e53.zip |
[PPC64] Fix wrong KASSERT in mphyp_pte_insert()
As mphyp_pte_unset() can also remove PTE entries, and as this can
happen in parallel with PTEs evicted by mphyp_pte_insert(), there
is a (rare) chance the PTE being evicted gets removed before
mphyp_pte_insert() is able to do so. Thus, the KASSERT should
check wether the result is H_SUCCESS or H_NOT_FOUND, to avoid
panics if the situation described above occurs.
More details about this issue can be found in PR 237470.
PR: 237470
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D20012
Notes
Notes:
svn path=/head/; revision=346600
Diffstat (limited to 'sys/netinet6/ip6_id.c')
0 files changed, 0 insertions, 0 deletions