fda0556ed2
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 |
||
---|---|---|
.. | ||
if_lge.c | ||
if_lgereg.h |