Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2000 13:06:56 -0800 (PST)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_mn.c
Message-ID:  <200012152106.eBFL6uQ59388@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2000/12/15 13:06:56 PST

  Modified files:
    sys/pci              if_mn.c 
  Log:
  Make sure to check if MGET(HDR) returned NULL, even when called with M_WAIT.
  This fixes the possibility of a NULL pointer dereference in the case where
  there are no mbufs or mbuf clusters left.
  
  Approved by: phk
  
  Revision  Changes    Path
  1.25      +27 -3     src/sys/pci/if_mn.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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