]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
It is unclear why in6_pcblookup_local() would require write access
authorglebius <glebius@FreeBSD.org>
Mon, 11 Nov 2019 06:28:25 +0000 (06:28 +0000)
committerglebius <glebius@FreeBSD.org>
Mon, 11 Nov 2019 06:28:25 +0000 (06:28 +0000)
commit2d2333004ca88af552922fba22992c8c2a596e5a
tree5162bc275aa8fc88afb2cf864035ce0ae53cab69
parent1989b562456d829b8bbf99358fcd20b98e7f840b
It is unclear why in6_pcblookup_local() would require write access
to the PCB hash.  The function doesn't modify the hash. It always
asserted write lock historically, but with epoch conversion this
fails in some special cases.

Reviewed by: rwatson, bz
Reported-by: syzbot+0b0488ca537e20cb2429@syzkaller.appspotmail.com
sys/netinet6/in6_pcb.c