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)
Sat, Apr 12, 12:22 PM
Unknown Object (File)
Fri, Apr 11, 11:53 PM
Unknown Object (File)
Mar 17 2025, 8:55 AM
Unknown Object (File)
Mar 4 2025, 9:17 PM
Unknown Object (File)
Mar 4 2025, 7:24 PM
Unknown Object (File)
Mar 4 2025, 4:08 PM
Unknown Object (File)
Feb 4 2025, 12:12 PM
Unknown Object (File)
Jan 25 2025, 11:16 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