]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
inpcb: defer destruction of inpcb until after a grace period has elapsed
authormmacy <mmacy@FreeBSD.org>
Sun, 20 May 2018 04:38:04 +0000 (04:38 +0000)
committermmacy <mmacy@FreeBSD.org>
Sun, 20 May 2018 04:38:04 +0000 (04:38 +0000)
commit7110d4d79667d03917e95c1908a87432606b615b
tree5ea9078a1a9da934bdb9c98680c9149dbbc331fc
parentd518618594402d64eeee91b1da223f4bd864087e
inpcb: defer destruction of inpcb until after a grace period has elapsed

in_pcbfree will remove the incpb from the list and release the rtentry
while the vnet is set, but the actual destruction will be deferred
until any threads in a (not yet used) epoch section, no longer potentially
have references.
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h