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
F96132362: D34832.diff
Mon, Sep 23, 7:17 PM
Unknown Object (File)
Tue, Sep 17, 6:14 PM
Unknown Object (File)
Tue, Sep 17, 6:13 PM
Unknown Object (File)
Mon, Sep 16, 6:53 PM
Unknown Object (File)
Mon, Sep 16, 2:42 AM
Unknown Object (File)
Thu, Sep 12, 12:19 AM
Unknown Object (File)
Thu, Sep 5, 12:05 PM
Unknown Object (File)
Sun, Sep 1, 6:04 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