Page MenuHomeFreeBSD

Static analysis: Condition the tcp_output() ipov variable on TCP_DEBUG
AbandonedPublic

Authored by jtl on May 26 2017, 5:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 10 2024, 7:23 AM
Unknown Object (File)
Dec 23 2023, 2:47 AM
Unknown Object (File)
Dec 20 2023, 2:21 AM
Unknown Object (File)
Aug 26 2023, 8:18 AM
Unknown Object (File)
Jun 17 2023, 6:55 PM
Unknown Object (File)
May 13 2023, 9:41 PM
Unknown Object (File)
Apr 25 2023, 9:09 AM
Unknown Object (File)
Apr 24 2023, 2:37 PM
Subscribers

Details

Reviewers
None
Group Reviewers
transport
Summary

In tcp_output(), the ipov variable is only used when TCP_DEBUG is defined. Therefore, condition the declaration and assignment of the variable on TCP_DEBUG being defined.

Sponsored by: Netflix
MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This is so trivial that I plan to commit it within 24 hours unless someone complains.

Committed as part of r327173.