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
F111528569: D34832.id104743.diff
Tue, Mar 4, 9:17 PM
F111522451: D34832.id104777.diff
Tue, Mar 4, 7:24 PM
F111510866: D34832.diff
Tue, Mar 4, 4:08 PM
Unknown Object (File)
Tue, Feb 4, 12:12 PM
Unknown Object (File)
Jan 25 2025, 11:16 PM
Unknown Object (File)
Jan 25 2025, 10:37 PM
Unknown Object (File)
Dec 6 2024, 2:40 AM
Unknown Object (File)
Nov 16 2024, 11:23 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