Re: kernel panic on smb activity

From: Bosko Milekic <bmilekic_at_FreeBSD.org>
Date: Wed, 9 Jun 2004 14:49:57 +0000
Maxime Henrion wrote:
>Looking at m_getm(), it seems it will panic everytime it's called with
>len < MCLBYTES.  In that case, top will stay NULL because num will be 0,
>but top is dereferenced just after that.  This bug was introduced in the
>mbuma commit.  From my quick reading of the m_getm() function before the
>mbuma commit, I believe the attached patch should fix your issue.  I'm
>Cc'ing Bosko so that he can comment of the correctness of this patch,
>since I didn't test it at all.
>
>Cheers,
>Maxime

  This looks correct.  Could the person who reported the problem please
  verify that this fixes it and then commit at will.  I've already submitted
  your change to the mbuma2 branch but you should feel free to commit it
  to HEAD.

  Please accept my appologies, thanks for the fix.

  -Bosko
Received on Wed Jun 09 2004 - 12:50:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC