netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fw: [Bug 59971] New: tcp_info::tcpi_last_ack_recv = 0xFFFFFFF6
@ 2013-06-20 15:24 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2013-06-20 15:24 UTC (permalink / raw)
  To: netdev



Begin forwarded message:

Date: Thu, 20 Jun 2013 04:20:40 -0700
From: "bugzilla-daemon@bugzilla.kernel.org" <bugzilla-daemon@bugzilla.kernel.org>
To: "stephen@networkplumber.org" <stephen@networkplumber.org>
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: shemminger@linux-foundation.org
        ReportedBy: _kobold@ukr.net
        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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-20 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20 15:24 Fw: [Bug 59971] New: tcp_info::tcpi_last_ack_recv = 0xFFFFFFF6 Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).