Subject: Fw: [Bug 59971] New: tcp_info::tcpi_last_ack_recv = 0xFFFFFFF6

From: Stephen Hemminger <[email-masked]>
Date: Thu, 20 Jun 2013 08:24:25 -0700

Begin forwarded message:

Date: Thu, 20 Jun 2013 04:20:40 -0700
From: "[email-masked]" <[email-masked]>
To: "[email-masked]" <[email-masked]>
Subject: [Bug 59971] New: tcp_info::tcpi_last_ack_recv = 0xFFFFFFF6

https://bugzilla.kernel.org/show_bug.cgi?id=59971

           Summary: tcp_info::tcpi_last_ack_recv = 0xFFFFFFF6
           Product: Networking
           Version: 2.5
    Kernel Version: 2.6.37
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Other
        AssignedTo: [email-masked]
        ReportedBy: [email-masked]
        Regression: No

tcp_info::tcpi_last_ack_recv becomes "negative" sometimes. -10 msec or 1 jiffy
in my case. Probably due to lack of synchronization in the kernel.

struct tcp_info tinfo = {0};
socklen_t len = sizeof(tinfo);
if (getsockopt(thesocket, SOL_TCP, TCP_INFO, (void*)&tinfo, &len) == 0)
    printf("%u\n", tinfo.tcpi_last_ack_recv);

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.