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)
Tue, Apr 21, 2:04 PM
Unknown Object (File)
Tue, Apr 14, 12:22 AM
Unknown Object (File)
Sat, Apr 11, 11:40 PM
Unknown Object (File)
Fri, Apr 10, 6:01 AM
Unknown Object (File)
Mon, Apr 6, 8:57 AM
Unknown Object (File)
Mon, Apr 6, 5:21 AM
Unknown Object (File)
Sun, Apr 5, 10:40 AM
Unknown Object (File)
Sun, Mar 29, 4:01 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