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)
Sun, Mar 22, 10:06 AM
Unknown Object (File)
Sat, Mar 21, 6:30 PM
Unknown Object (File)
Fri, Mar 20, 6:28 AM
Unknown Object (File)
Tue, Mar 17, 1:51 PM
Unknown Object (File)
Tue, Mar 17, 10:21 AM
Unknown Object (File)
Tue, Mar 17, 4:25 AM
Unknown Object (File)
Mon, Mar 16, 7:45 PM
Unknown Object (File)
Feb 8 2026, 1:21 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