Skip to contentSkip to conversation

New: lec_seq_next does not update index position

Bug 209037 Stephen Hemminger 1 participant 1 message Aug 25, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Tue, 25 Aug 2020 16:10:37 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 209037] New: lec_seq_next does not update index position

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

Bug ID: 209037
Summary: lec_seq_next does not update index position
Product: Networking
Version: 2.5
Kernel Version: from at least 2.6.12+
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: low
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Stress-testing /procfs with stress-ng tripped the following warning when reading /proc/net/atm/lec:

[ 7236.344619] seq_file: buggy .next function lec_seq_next [lec] did not update
position index
[ 7236.344704] seq_file: buggy .next function lec_seq_next [lec] did not update

position index

can be reproduced by seeking on the proc file and reading:

dd if=/proc/net/atm/lec seek=1 of=/dev/stdout bs=1K

the read() also blocks which is not correct either.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.