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)
Wed, Aug 12, 9:17 PM
Unknown Object (File)
Wed, Aug 12, 7:49 AM
Unknown Object (File)
Fri, Aug 7, 9:48 PM
Unknown Object (File)
Fri, Aug 7, 5:59 PM
Unknown Object (File)
Thu, Aug 6, 1:18 PM
Unknown Object (File)
Thu, Aug 6, 1:04 PM
Unknown Object (File)
Wed, Aug 5, 3:35 AM
Unknown Object (File)
Jul 26 2026, 11:57 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