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)
Fri, Dec 6, 2:40 AM
Unknown Object (File)
Sat, Nov 16, 11:23 PM
Unknown Object (File)
Sat, Nov 16, 5:06 AM
Unknown Object (File)
Nov 12 2024, 2:30 AM
Unknown Object (File)
Nov 12 2024, 2:24 AM
Unknown Object (File)
Sep 23 2024, 7:17 PM
Unknown Object (File)
Sep 17 2024, 6:14 PM
Unknown Object (File)
Sep 17 2024, 6:13 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