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, Oct 2, 2:11 PM
Unknown Object (File)
Wed, Oct 1, 9:07 AM
Unknown Object (File)
Thu, Sep 25, 1:33 AM
Unknown Object (File)
Thu, Sep 18, 1:11 AM
Unknown Object (File)
Thu, Sep 11, 1:28 AM
Unknown Object (File)
Sep 2 2025, 10:16 PM
Unknown Object (File)
Aug 19 2025, 8:21 PM
Unknown Object (File)
Aug 19 2025, 11:26 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 Not Applicable
Unit
Tests Not Applicable