Bug 59971 - tcp_info::tcpi_last_ack_recv = 0xFFFFFFF6
Summary: tcp_info::tcpi_last_ack_recv = 0xFFFFFFF6
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-20 11:20 UTC by _kobold
Modified: 2013-06-20 11:32 UTC (History)
0 users

See Also:
Kernel Version: 2.6.37
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description _kobold 2013-06-20 11:20:20 UTC
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);
Comment 1 _kobold 2013-06-20 11:32:47 UTC
Reproducibility is once per 5000-7000 tries.

Note You need to log in before you can comment on or make changes to this bug.