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)
Sun, Jul 26, 11:57 AM
Unknown Object (File)
Tue, Jul 21, 11:28 AM
Unknown Object (File)
Tue, Jul 21, 12:31 AM
Unknown Object (File)
Tue, Jun 30, 9:06 AM
Unknown Object (File)
Jun 22 2026, 12:29 AM
Unknown Object (File)
May 18 2026, 7:13 PM
Unknown Object (File)
May 18 2026, 2:30 AM
Unknown Object (File)
May 18 2026, 2:30 AM
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