From owner-cvs-all Fri Aug 2 13:56:11 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABA7937B400; Fri, 2 Aug 2002 13:56:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71DED43E4A; Fri, 2 Aug 2002 13:56:07 -0700 (PDT) (envelope-from mux@FreeBSD.org) Received: from freefall.freebsd.org (mux@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g72Ku7JU003447; Fri, 2 Aug 2002 13:56:07 -0700 (PDT) (envelope-from mux@freefall.freebsd.org) Received: (from mux@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g72Ku7Jb003446; Fri, 2 Aug 2002 13:56:07 -0700 (PDT) Message-Id: <200208022056.g72Ku7Jb003446@freefall.freebsd.org> From: Maxime Henrion Date: Fri, 2 Aug 2002 13:56:07 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c vfs_mount.c src/sys/sys linker.h src/sys/netgraph ng_base.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 mux 2002/08/02 13:56:07 PDT Modified files: sys/kern kern_linker.c vfs_mount.c sys/sys linker.h sys/netgraph ng_base.c Log: Make the consumers of the linker_load_file() function use linker_load_module() instead. This fixes a bug where the kernel was unable to properly locate and load a kernel module in vfs_mount() (and probably in the netgraph code as well since it was using the same function). This is because the linker_load_file() does not properly search the module path. Problem found by: peter Reviewed by: peter Thanks to: peter Revision Changes Path 1.93 +2 -5 src/sys/kern/kern_linker.c 1.81 +2 -2 src/sys/kern/vfs_mount.c 1.63 +1 -1 src/sys/netgraph/ng_base.c 1.31 +4 -2 src/sys/sys/linker.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message