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, Jun 20, 1:38 AM
Unknown Object (File)
Thu, Jun 18, 3:24 AM
Unknown Object (File)
Fri, Jun 12, 2:25 PM
Unknown Object (File)
May 21 2026, 8:37 AM
Unknown Object (File)
May 20 2026, 7:44 PM
Unknown Object (File)
May 20 2026, 9:03 AM
Unknown Object (File)
May 6 2026, 9:13 PM
Unknown Object (File)
May 6 2026, 11:50 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