svn commit: r354477 - in head/sys: netinet netinet6
Gleb Smirnoff
glebius at freebsd.org
Thu Nov 7 20:50:38 UTC 2019
On Thu, Nov 07, 2019 at 08:49:56PM +0000, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Thu Nov 7 20:49:56 2019
T> New Revision: 354477
T> URL: https://svnweb.freebsd.org/changeset/base/354477
T>
T> Log:
T> Since r353292 on input path we are always in network epoch, when
T> we lookup PCBs. Thus, do not enter epoch recursively in
T> in_pcblookup_hash() and in6_pcblookup_hash(). Same applies to
T> tcp_ctlinput() and tcp6_ctlinput().
T>
T> This leaves several sysctl(9) handlers that return PCB credentials
T> unprotected. Add epoch enter/exit to all of them.
T>
T> Differential Revision: https://reviews.freebsd.org/D22197
Note: only this commit references the differential revision,
as it is the core change. But preceeding commits and following
commits related to PCB locking were all part of this review.
--
Gleb Smirnoff
More information about the svn-src-all
mailing list