Date: Tue, 18 Mar 2008 02:01:22 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/lge if_lge.c Message-ID: <200803180201.m2I21OBW082473@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2008-03-18 02:01:22 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/lge if_lge.c
Log:
MFC if_lge.c rev 1.53 to RELENG_6:
Plug memory leak in jumbo buffer allocation failure path.
Patch in the PR was modified to check active jumbo buffers in use
and other possible jumbo buffer leak.
Jumbo buffer usage in lge(4) still wouldn't be reliable due to lack
of driver lock in local jumbo buffer allocator. Either introduce
a new lock to protect jumbo buffer or switch to UMA backed page
allocator for jumbo frame is required.
I've removed informational device_printf in lge_free_jumbo_mem as
lge_dev member variable in softc does not exist on RELENG_6.
if_printf can't be used as sc->lge_ifp could be NULL.
PR: kern/78072
Revision Changes Path
1.39.2.6 +10 -4 src/sys/dev/lge/if_lge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803180201.m2I21OBW082473>
