[Bug 216832] net.inet.tcp.log_debug incorrect debug message

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 5 19:29:14 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216832

            Bug ID: 216832
           Summary: net.inet.tcp.log_debug incorrect debug message
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: antonfb at hesiod.org

Created attachment 179653
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179653&action=edit
unified diff to fix the problem

When net.inet.tcp.log_debug is set, most new connections report Timestamp not
expected.  The problem is, this gets reported for the message which starts the
connection before the state has decided if Timestamps are expected.  A simple
fix is to move the reporting logic below the code which sets up the timestamp
expectation.  This logic is in sys/netinet/tcp_input.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list