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, Apr 6, 5:04 AM
Unknown Object (File)
Sat, Mar 22, 9:18 AM
Unknown Object (File)
Mar 14 2025, 11:09 PM
Unknown Object (File)
Feb 9 2025, 10:23 PM
Unknown Object (File)
Feb 9 2025, 11:22 AM
Unknown Object (File)
Feb 3 2025, 2:48 PM
Unknown Object (File)
Jan 26 2025, 8:50 PM
Unknown Object (File)
Dec 14 2024, 6:36 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