aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKrasnov Arseniy Vladimirovich <[email protected]>2022-03-17 08:33:23 +0000
committerDavid S. Miller <[email protected]>2022-03-18 15:13:19 +0000
commite89600ebeeb14d18c0b062837a84196f72542830 (patch)
treee5e4f73deb307de23b15b0cc02924dce32a2de5f /net/unix/af_unix.c
parentaf_vsock: SOCK_SEQPACKET receive timeout test (diff)
downloadkernel-e89600ebeeb14d18c0b062837a84196f72542830.tar.gz
kernel-e89600ebeeb14d18c0b062837a84196f72542830.zip
af_vsock: SOCK_SEQPACKET broken buffer test
Add test where sender sends two message, each with own data pattern. Reader tries to read first to broken buffer: it has three pages size, but middle page is unmapped. Then, reader tries to read second message to valid buffer. Test checks, that uncopied part of first message was dropped and thus not copied as part of second message. Signed-off-by: Krasnov Arseniy Vladimirovich <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions