Page MenuHomeFreeBSD

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

Authored by ae on Thu, Mar 25, 8:56 AM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.