Date: Thu, 5 May 2005 04:16:14 +0000 (UTC) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/ndis subr_ndis.c Message-ID: <200505050416.j454GEjV011563@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2005-05-05 04:16:14 UTC FreeBSD src repository Modified files: sys/compat/ndis subr_ndis.c Log: Remove extranaous free() of ASCII filename from NdisOpenFile(). Oh, one additional change I forgot to mention in the last commit: NdisOpenFile() was broken in the case for firmware files that were pre-loaded as modules. When searching for the module in NdisOpenFile(), we would match against a symbol name, which would contain the string we were looking for, then save a pointer to the linker file handle. Later, in NdisMapFile(), we would refer to the filename hung off this handle when trying to find the starting address symbol. Only problem is, this filename is different from the embedded symbol name we're searching for, so the mapping would fail. I found this problem while testing the AirGo driver, which requires a small firmware file. Revision Changes Path 1.87 +0 -1 src/sys/compat/ndis/subr_ndis.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505050416.j454GEjV011563>