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)
Tue, May 13, 1:21 PM
Unknown Object (File)
Fri, May 2, 5:05 AM
Unknown Object (File)
Sat, Apr 26, 3:22 AM
Unknown Object (File)
Thu, Apr 24, 8:39 AM
Unknown Object (File)
Thu, Apr 24, 8:08 AM
Unknown Object (File)
Mon, Apr 21, 11:18 PM
Unknown Object (File)
Thu, Apr 17, 2:46 AM
Unknown Object (File)
Mar 20 2025, 2:52 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