Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 14:49:57 +0000
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        Maxime Henrion <mux@freebsd.org>
Cc:        Alex Dupre <ale@freebsd.org>
Subject:   Re: kernel panic on smb activity
Message-ID:  <20040609144957.GA15145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609144957.GA15145>