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
Unknown Object (File)
Thu, Dec 11, 8:11 AM
Unknown Object (File)
Mon, Dec 8, 5:38 PM
Unknown Object (File)
Tue, Dec 2, 1:20 PM
Unknown Object (File)
Fri, Nov 28, 12:13 PM
Unknown Object (File)
Tue, Nov 25, 7:17 PM
Unknown Object (File)
Thu, Nov 20, 1:58 PM
Unknown Object (File)
Nov 11 2025, 12:52 AM
Unknown Object (File)
Nov 10 2025, 4:34 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