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
F165094013: D48970.diff
Wed, Aug 5, 11:48 PM
Unknown Object (File)
Tue, Aug 4, 8:15 AM
Unknown Object (File)
Tue, Aug 4, 4:53 AM
Unknown Object (File)
Mon, Aug 3, 9:01 AM
Unknown Object (File)
Sat, Jul 25, 11:24 PM
Unknown Object (File)
Thu, Jul 23, 3:46 PM
Unknown Object (File)
Thu, Jul 23, 9:40 AM
Unknown Object (File)
Tue, Jul 21, 7:32 AM
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