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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"