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 Thu, Jul 15, 3:09 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.