Page MenuHomeFreeBSD

net: Fix memory leaks in lltable_calc_llheader() error paths
ClosedPublic

Authored by markj on Apr 7 2022, 7:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 31, 3:55 PM
Unknown Object (File)
Jul 10 2024, 4:20 PM
Unknown Object (File)
Jul 3 2024, 5:58 PM
Unknown Object (File)
Jun 30 2024, 9:41 PM
Unknown Object (File)
Jun 3 2024, 3:27 PM
Unknown Object (File)
Jun 3 2024, 3:27 PM
Unknown Object (File)
Jun 3 2024, 3:26 PM
Unknown Object (File)
Jun 3 2024, 3:14 PM
Subscribers

Details

Summary

Also convert raw epoch_call() calls to lltable_free_entry() calls, no
functional change intended. There's no need to asynchronously free the
LLEs in that case to begin with, but we might as well use the lltable
interfaces consistently.

Noticed by code inspection, I think lltable_calc_llheader() failures do
not generally happen in practice.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable