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
F138210407: D29420.id54425.diff
Sat, Nov 29, 10:50 PM
Unknown Object (File)
Fri, Nov 28, 12:42 PM
Unknown Object (File)
Wed, Nov 26, 4:11 AM
Unknown Object (File)
Sun, Nov 23, 8:52 PM
Unknown Object (File)
Thu, Nov 13, 3:58 PM
Unknown Object (File)
Wed, Nov 12, 5:00 AM
Unknown Object (File)
Sun, Nov 9, 12:35 AM
Unknown Object (File)
Sun, Nov 9, 12:29 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