NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41153 (nfs doesn't check failure of m_get() or m_clget())



Synopsis: nfs doesn't check failure of m_get() or m_clget()

State-Changed-From-To: open->closed
State-Changed-By: bouyer%NetBSD.org@localhost
State-Changed-When: Tue, 07 Apr 2009 19:45:45 +0000
State-Changed-Why:
actually m_clget() failing shound't be a problem. The macros checks the
space in the mbuf before copying data and will allocate a new one
if there isn't enough space. So instead of a mbuf with cluster we'll
end up with a chain of mbufs, but there should be no memory corruption.





Home | Main Index | Thread Index | Old Index