From owner-cvs-all Thu Jun 14 8: 8:48 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 10A7937B407; Thu, 14 Jun 2001 08:08:41 -0700 (PDT) (envelope-from joerg@FreeBSD.org) Received: (from joerg@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5EF8f339638; Thu, 14 Jun 2001 08:08:41 -0700 (PDT) (envelope-from joerg) Message-Id: <200106141508.f5EF8f339638@freefall.freebsd.org> From: Joerg Wunsch Date: Thu, 14 Jun 2001 08:08:40 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/contrib/dev/oltr if_oltr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG joerg 2001/06/14 08:08:40 PDT Modified files: sys/contrib/dev/oltr if_oltr.c Log: Do only call oltr_stop() if we are not already in OL_STOPPED state. This avoids a null pointer deref panic in TRlldClose() inside the vendor-supplied object code. It's now possible to unload the driver at all. Implement deallocation of malloc()ed memory regions. MFC after: 2 months Revision Changes Path 1.20 +15 -4 src/sys/contrib/dev/oltr/if_oltr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message