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, Sep 8, 1:38 AM
Unknown Object (File)
Sat, Sep 7, 6:06 AM
Unknown Object (File)
Thu, Sep 5, 3:02 AM
Unknown Object (File)
Aug 13 2024, 12:58 AM
Unknown Object (File)
Jun 28 2024, 10:40 PM
Unknown Object (File)
Jun 27 2024, 3:48 PM
Unknown Object (File)
Jun 27 2024, 2:55 PM
Unknown Object (File)
Jun 27 2024, 12:41 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

Lint
Lint Skipped
Unit
Tests Skipped