diff options
| author | Narcisa Vasile <narcisav.kernel@gmail.com> | 2026-09-15 18:00:29 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-16 19:14:56 -0700 |
| commit | 7bc21b740291c06b6437fd7ed7fab2d707b35cff (patch) | |
| tree | 09242268f6aae7dd36c832ed906d97484c2899ab /include/linux/debugobjects.h | |
| parent | 9a483b60a0ad67fbd55c23a0ebb96754e984f585 (diff) | |
selftests: net: gro: fix OOB access when under-coalescing
When more packets than expected are received, num_pkt
could index beyond the end of the array. Add a check to prevent
OOB access.
Continue receiving until the FIN is received to obtain
the total packet count. This helps diagnose issues by
distinguishing the cases where no coalescing happened from
the partial-coalescing cases that didn't meet the test check.
Signed-off-by: Narcisa Vasile <narcisav.kernel@gmail.com>
Link: https://patch.msgid.link/20260916010029.50911-1-narcisav.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
