[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210818175204.GA15391@legohost>
Date: Wed, 18 Aug 2021 20:52:04 +0300
From: Oleg <lego12239@...dex.ru>
To: netdev@...r.kernel.org
Subject: reading /proc/net/tcp
Hi, all.
Could anybody clarify what happen if some connection is disappeared between
two read() calls against a line from /proc/net/tcp for this connection?
For example, i read the line(from /proc/net/tcp):
1: 0C00A8C0:E24E E29BCA74:01BB 01 00000000:00000000 00:00000000 00000000 1000 0 57498 1 0000000031ee2ba7 56 4 30 10 -1
with 2 read(fd, buf, 80) calls.
--
Олег Неманов (Oleg Nemanov)
Powered by blists - more mailing lists