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
F82115168: D31194.diff
Thu, Apr 25, 4:32 PM
Unknown Object (File)
Sat, Apr 20, 2:12 AM
Unknown Object (File)
Feb 17 2024, 3:58 PM
Unknown Object (File)
Jan 30 2024, 6:06 AM
Unknown Object (File)
Jan 17 2024, 8:06 AM
Unknown Object (File)
Dec 30 2023, 8:08 PM
Unknown Object (File)
Dec 22 2023, 9:50 PM
Unknown Object (File)
Dec 15 2023, 7:52 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