diff options
| author | Martin Schiller <ms@dev.tdt.de> | 2026-03-31 09:43:18 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-04-02 13:36:08 +0200 |
| commit | a1822cb524e89b4cd2cf0b82e484a2335496a6d9 (patch) | |
| tree | 2848b3b99fd5a54942cadc15c619b73e0f16f358 /fs/devfs/git@git.tavy.me:linux.git | |
| parent | d10a26aa4d072320530e6968ef945c8c575edf61 (diff) | |
net/x25: Fix overflow when accumulating packets
Add a check to ensure that `x25_sock.fraglen` does not overflow.
The `fraglen` also needs to be resetted when purging `fragment_queue` in
`x25_clear_queues()`.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Suggested-by: Yiming Qian <yimingqian591@gmail.com>
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Link: https://patch.msgid.link/20260331-x25_fraglen-v4-2-3e69f18464b4@dev.tdt.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'fs/devfs/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
