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, Jan 18, 2:29 PM
Unknown Object (File)
Thu, Jan 9, 1:32 PM
Unknown Object (File)
Dec 5 2024, 6:34 PM
Unknown Object (File)
Nov 17 2024, 1:15 PM
Unknown Object (File)
Nov 16 2024, 1:27 PM
Unknown Object (File)
Oct 16 2024, 1:10 PM
Unknown Object (File)
Oct 3 2024, 1:03 PM
Unknown Object (File)
Oct 3 2024, 6:25 AM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38064
Build 34953: arc lint + arc unit