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)
Sat, Aug 2, 4:21 AM
Unknown Object (File)
Thu, Jul 24, 7:04 PM
Unknown Object (File)
Wed, Jul 23, 3:50 PM
Unknown Object (File)
Sun, Jul 20, 1:06 PM
Unknown Object (File)
Sat, Jul 12, 1:14 PM
Unknown Object (File)
Jul 2 2025, 6:46 AM
Unknown Object (File)
Jun 29 2025, 7:20 AM
Unknown Object (File)
Jun 27 2025, 1:44 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