svn commit: r274494 - head/sys/kern

John Baldwin jhb at freebsd.org
Fri Nov 14 17:32:21 UTC 2014


On Friday, November 14, 2014 06:02:29 AM Gleb Smirnoff wrote:
> Author: glebius
> Date: Fri Nov 14 06:02:29 2014
> New Revision: 274494
> URL: https://svnweb.freebsd.org/changeset/base/274494
> 
> Log:
>   There should not be zero length mbufs in socket buffers.  The code comes
>   from r1451, and thus can't be explained.  A patch with explicit panic()
>   here survived all tests.

It can be explained. :)

https://svnweb.freebsd.org/csrg?view=revision&revision=17331

It seems even when it was added it wasn't necessary:

Author: 	karels
Date: 	Fri Nov 2 10:39:52 1984 UTC (30 years ago)
Changed paths: 	1
Log Message: 	

drop trailing null mbufs in sbdrop (probably unnecessary now)

-- 
John Baldwin


More information about the svn-src-head mailing list