Page MenuHomeFreeBSD

ip_divert: check that PCB is still valid after INP_RLOCK taking
ClosedPublic

Authored by ae on Mar 25 2021, 8:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 25, 11:23 PM
Unknown Object (File)
Wed, Oct 15, 11:46 PM
Unknown Object (File)
Thu, Oct 9, 5:04 AM
Unknown Object (File)
Thu, Oct 9, 4:46 AM
Unknown Object (File)
Sep 28 2025, 11:17 PM
Unknown Object (File)
Sep 27 2025, 11:21 PM
Unknown Object (File)
Sep 18 2025, 2:44 PM
Unknown Object (File)
Sep 16 2025, 2:19 PM
Subscribers

Details

Summary

We are inspecting PCBs of divert sockets under NET_EPOCH section,
but PCB could be already deleted and we should check INP_FREED flag
when we took INP_RLOCK.

PR: 254478

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable