Re: svn commit: r333915 - head/sys/netinet

2018-05-21 Thread Jonathan T. Looney
Summary: I'm not sure this addresses all the subtleties of INPCB destruction. I think it would benefit from wider review. I suggest it be reverted in the meantime. On Sun, May 20, 2018 at 12:38 AM, Matt Macy wrote: > + > +/* > + * Unconditionally schedule an inpcb to be freed by decrementing its

svn commit: r333915 - head/sys/netinet

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 04:38:04 2018 New Revision: 333915 URL: https://svnweb.freebsd.org/changeset/base/333915 Log: inpcb: defer destruction of inpcb until after a grace period has elapsed in_pcbfree will remove the incpb from the list and release the rtentry while the vnet is se