diff options
| author | Florian Westphal <fw@strlen.de> | 2021-12-04 01:35:33 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-07 22:36:29 +0300 |
| commit | 5cbd886ce2a9f4627ff9cdab1bc97a401a24b309 (patch) | |
| tree | 619fde493de9a64d011222dacf77843a652eb58e /include/linux/netdev_features.h | |
| parent | 2c9e77659a0c8d7ce96af3e420914ace1e3f7d21 (diff) | |
| download | linux-5cbd886ce2a9f4627ff9cdab1bc97a401a24b309.tar.xz | |
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 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions
