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)
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
Unknown Object (File)
Sep 30 2024, 3:01 PM
Unknown Object (File)
Sep 30 2024, 8:57 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable