diff options
| author | Florian Westphal <fw@strlen.de> | 2021-12-03 14:35:33 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-07 11:36:29 -0800 |
| commit | 5cbd886ce2a9f4627ff9cdab1bc97a401a24b309 (patch) | |
| tree | 619fde493de9a64d011222dacf77843a652eb58e /lib/mpi/mpi-mod.c | |
| parent | 2c9e77659a0c8d7ce96af3e420914ace1e3f7d21 (diff) | |
selftests: mptcp: add TCP_INQ support
Do checks on the returned inq counter.
Fail on:
1. Huge value (> 1 kbyte, test case files are 1 kb)
2. last hint larger than returned bytes when read was short
3. erronenous indication of EOF.
3) happens when a hint of X bytes reads X-1 on next call
but next recvmsg returns more data (instead of EOF).
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
