Page MenuHomeFreeBSD

gve: Fix memory leak during reset
ClosedPublic

Authored by jtranoleary_google.com on Wed, Feb 12, 6:19 PM.
Tags
None
Referenced Files
F110247007: D48970.diff
Sat, Feb 15, 4:53 PM
Unknown Object (File)
Fri, Feb 14, 4:30 PM
Unknown Object (File)
Fri, Feb 14, 3:03 PM
Unknown Object (File)
Fri, Feb 14, 3:01 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 Not Applicable
Unit
Tests Not Applicable