Page MenuHomeFreeBSD

tcp: When rack or bbr get a pullup failure in the common code, don't free the NULL mbuf.
ClosedPublic

Authored by rrs on Jul 15 2021, 3:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 30, 2:14 PM
Unknown Object (File)
Fri, Jan 30, 2:14 PM
Unknown Object (File)
Jan 5 2026, 10:25 PM
Unknown Object (File)
Jan 1 2026, 1:10 AM
Unknown Object (File)
Nov 25 2025, 11:52 PM
Unknown Object (File)
Nov 25 2025, 4:26 PM
Unknown Object (File)
Nov 24 2025, 4:39 AM
Unknown Object (File)
Nov 22 2025, 2:59 PM
Subscribers

Details

Summary

There is a bug in the error path where rack_bbr_common does a m_pullup() and the pullup fails.
There is a stray mfree(m) after m is set to NULL. This is not a good idea :-)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable