Page MenuHomeFreeBSD

gve: Fix memory leak during reset
ClosedPublic

Authored by jtranoleary_google.com on Feb 12 2025, 6:19 PM.
Tags
None
Referenced Files
F115259111: D48970.diff
Mon, Apr 21, 11:18 PM
Unknown Object (File)
Thu, Apr 17, 2:46 AM
Unknown Object (File)
Mar 20 2025, 2:52 AM
Unknown Object (File)
Mar 20 2025, 2:51 AM
Unknown Object (File)
Mar 19 2025, 9:18 PM
Unknown Object (File)
Mar 7 2025, 12:25 AM
Unknown Object (File)
Feb 26 2025, 9:21 AM
Unknown Object (File)
Feb 23 2025, 1:24 PM
Subscribers

Details

Summary

Before this change, during reset we were allocating new memory for
priv->ptype_lut_dqo, irq_db_array and the counter_array over the old
memory. This change ensures we do not allocate new memory during reset
and avoid memory leaks.

Signed-off-by: Vee Agarwal <veethebee@google.com>
Signed-off-by: Jasper Tran O'Leary <jtranoleary@google.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62401
Build 59285: arc lint + arc unit