diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-08 17:46:44 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-08 17:46:44 +0300 |
| commit | 4fb21bfd967ee834d2b5d5ea11d0838002d6ac1a (patch) | |
| tree | db60d8f6971ad75e12d07f18a9127314ee98abb1 /accel-pppd | |
| parent | b2eab395bb283b412e7bc8fef022ac06721b9a4e (diff) | |
| download | accel-ppp-4fb21bfd967ee834d2b5d5ea11d0838002d6ac1a.tar.gz accel-ppp-4fb21bfd967ee834d2b5d5ea11d0838002d6ac1a.zip | |
ipoe: do not skip a session when a dump spans several messages
ipoe_nl_cmd_dump_sessions() increments idx before calling fill_info(),
so once fill_info() fails because the skb is full, idx already points
past the session that did not fit. cb->args[0] is set to that value and
the next round resumes one entry too far, dropping the session from the
dump entirely - one lost session per message boundary, roughly one in
every 90 at the current record size.
Step idx back before leaving the loop.
Diffstat (limited to 'accel-pppd')
0 files changed, 0 insertions, 0 deletions
