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, Mar 29, 4:01 AM
Unknown Object (File)
Fri, Mar 27, 5:46 AM
Unknown Object (File)
Wed, Mar 25, 2:16 AM
Unknown Object (File)
Sat, Mar 14, 10:03 AM
Unknown Object (File)
Sat, Mar 14, 4:17 AM
Unknown Object (File)
Jan 30 2026, 2:14 PM
Unknown Object (File)
Jan 30 2026, 2:14 PM
Unknown Object (File)
Jan 5 2026, 10:25 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