Begin forwarded message:

Date: Tue, 25 Aug 2020 16:10:37 +0000
From: bugzilla-dae...@bugzilla.kernel.org
To: step...@networkplumber.org
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: step...@networkplumber.org
          Reporter: colin.k...@canonical.com
        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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to