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
F137999541: D34832.id104777.diff
Fri, Nov 28, 12:56 AM
F137945071: D34832.id104777.diff
Thu, Nov 27, 1:15 PM
Unknown Object (File)
Thu, Nov 27, 8:58 AM
Unknown Object (File)
Wed, Nov 26, 1:18 PM
Unknown Object (File)
Tue, Nov 25, 6:33 AM
Unknown Object (File)
Sun, Nov 23, 1:30 AM
Unknown Object (File)
Sun, Nov 2, 8:28 PM
Unknown Object (File)
Sat, Nov 1, 2:43 AM
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