diff options
| author | Stanislav Fomichev <[email protected]> | 2025-05-20 20:30:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-05-26 09:00:48 +0000 |
| commit | 384492c48e6a88c9a7f0376d8e8ac7f557988e92 (patch) | |
| tree | 95547cd8576faaa0b3228588c91fb4d24c35278e /tools/testing/selftests/drivers/net/hw/ncdevmem.c | |
| parent | net: ethernet: mtk_eth_soc: Correct spelling (diff) | |
| download | kernel-384492c48e6a88c9a7f0376d8e8ac7f557988e92.tar.gz kernel-384492c48e6a88c9a7f0376d8e8ac7f557988e92.zip | |
net: devmem: support single IOV with sendmsg
sendmsg() with a single iov becomes ITER_UBUF, sendmsg() with multiple
iovs becomes ITER_IOVEC. iter_iov_len does not return correct
value for UBUF, so teach to treat UBUF differently.
Cc: Al Viro <[email protected]>
Cc: Pavel Begunkov <[email protected]>
Cc: Mina Almasry <[email protected]>
Fixes: bd61848900bf ("net: devmem: Implement TX path")
Signed-off-by: Stanislav Fomichev <[email protected]>
Acked-by: Mina Almasry <[email protected]>
Reviewed-by: Pavel Begunkov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/ncdevmem.c')
0 files changed, 0 insertions, 0 deletions
