lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 11 Jul 2011 17:47:18 +0100
From:	Andreas O <andreas2025@...il.com>
To:	netdev@...r.kernel.org
Subject: "tm->when" at /proc/net/tcp shows some negative numbers.

Dear devnet list,

I am doing some performance improvements on  linux-2.6.33.15 with
real-time support. When my tests fails I observe that "tm->when" at
/proc/net/tcp shows
some negative numbers. That negative number is the difference  of
"timer_expires - jeffies" and in this case timer_expires is smaller
than jiffies.
Does this negative number indicates a bug in the stack?


from /proc/net/tcp

  sl  local_address rem_address   st tx_queue rx_queue tr tm->when
retrnsmt   uid  timeout inode

   0: 0100007F:09A4 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 11905 1 ffff88057b9df9c0 300 0 0 2 -1
   1: 00000000:1BC7 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14746 1 ffff880579bfac80 300 0 0 2 -1
   2: 0100007F:00C7 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 11734 1 ffff88097a7980c0 300 0 0 2 -1
   3: 00000000:078F 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14733 1 ffff880974e9acc0 300 0 0 2 -1
   4: 00000000:2710 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14748 1 ffff88097385e740 300 0 0 2 -1
   5: 00000000:0050 00000000:0000 0A 00000000:00000000 02:0000000E
00000000   499        0 14732 2 ffff88097933d980 300 0 0 2 -1
   6: 14041AAC:0050 FE081AAC:93FD 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff8804dc549dc0
   7: 14041AAC:0050 FA081AAC:B0E0 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff880524d79e40
   8: 14041AAC:0050 F2011AAC:E53F 03 00000000:00000000
01:FFFFFFFFFFFFFFE4 00000000   499        0 0 2 ffff880524d7ccc0
   9: 14041AAC:0050 F2011AAC:C73F 03 00000000:00000000
01:FFFFFFFFFFFFFFE5 00000000   499        0 0 2 ffff880524d5ba40
  10: 14041AAC:0050 FB011AAC:D89A 03 00000000:00000000
01:FFFFFFFFFFFFFFE1 00000000   499        0 0 2 ffff8804a9290b40
  11: 14041AAC:0050 F2011AAC:C9CD 03 00000000:00000000
01:FFFFFFFFFFFFFFE4 00000000   499        0 0 2 ffff8804e6c9af40
  12: 14041AAC:0050 FE081AAC:8EC9 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff8804dc59d940
  13: 14041AAC:0050 FE081AAC:E7C0 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff8804dc798840

  sl  local_address rem_address   st tx_queue rx_queue tr tm->when
retrnsmt   uid  timeout inode
   0: 0100007F:09A4 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 11905 1 ffff88057b9df9c0 300 0 0 2 -1
   1: 00000000:1BC7 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14746 1 ffff880579bfac80 300 0 0 2 -1
   2: 0100007F:00C7 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 11734 1 ffff88097a7980c0 300 0 0 2 -1
   3: 00000000:078F 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14733 1 ffff880974e9acc0 300 0 0 2 -1
   4: 00000000:2710 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14748 1 ffff88097385e740 300 0 0 2 -1
   5: 00000000:0050 00000000:0000 0A 00000000:00000000 02:00000009
00000000   499        0 14732 2 ffff88097933d980 300 0 0 2 -1
   6: 14041AAC:0050 FE081AAC:93FD 03 00000000:00000000
01:FFFFFFFFFFFFFFB5 00000000   499        0 0 2 ffff8804dc549dc0
   7: 14041AAC:0050 FA081AAC:B0E0 03 00000000:00000000
01:FFFFFFFFFFFFFFB5 00000000   499        0 0 2 ffff880524d79e40
   8: 14041AAC:0050 F2011AAC:E53F 03 00000000:00000000
01:FFFFFFFFFFFFFFB7 00000000   499        0 0 2 ffff880524d7ccc0
   9: 14041AAC:0050 F2011AAC:C73F 03 00000000:00000000
01:FFFFFFFFFFFFFFB8 00000000   499        0 0 2 ffff880524d5ba40
  10: 14041AAC:0050 FB011AAC:D89A 03 00000000:00000000
01:FFFFFFFFFFFFFFB4 00000000   499        0 0 2 ffff8804a9290b40
  11: 14041AAC:0050 F2011AAC:C9CD 03 00000000:00000000
01:FFFFFFFFFFFFFFB7 00000000   499        0 0 2 ffff8804e6c9af40
  12: 14041AAC:0050 FE081AAC:8EC9 03 00000000:00000000
01:FFFFFFFFFFFFFFB5 00000000   499        0 0 2 ffff8804dc59d940
  13: 14041AAC:0050 F2081AAC:E7BF 03 00000000:00000000
01:FFFFFFFFFFFFFFB7 00000000   499        0 0 2 ffff8804ce339c40


Any ideas?

Kind regards
Andreas
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ