Page MenuHomeFreeBSD

ifnet/API: Use driver level queues in drbr_* APIs
Needs ReviewPublic

Authored by pkochanowski_sii.pl on Sep 8 2025, 1:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 27, 12:19 AM
Unknown Object (File)
Thu, Sep 25, 7:32 AM
Unknown Object (File)
Sun, Sep 21, 3:15 PM
Unknown Object (File)
Wed, Sep 17, 7:08 PM
Unknown Object (File)
Sep 8 2025, 8:12 PM
Unknown Object (File)
Sep 8 2025, 5:02 PM
Unknown Object (File)
Sep 8 2025, 3:46 PM
Unknown Object (File)
Sep 8 2025, 2:55 PM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

In case an ALTQ is used a memory leak can happen if drbr_putback is
executed as no other function check for driver queue.
Use the IFQ_DRV_* APIs in all of the drbr_* functions to be sure that
driver queue is checked before dequing packets from interface queue.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped