From patchwork Thu Mar 17 08:29:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arseniy Krasnov X-Patchwork-Id: 12783709 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 061A7C4332F for ; Thu, 17 Mar 2022 08:31:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231298AbiCQIc2 (ORCPT ); Thu, 17 Mar 2022 04:32:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiCQIc1 (ORCPT ); Thu, 17 Mar 2022 04:32:27 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35A21196D55; Thu, 17 Mar 2022 01:31:05 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id DEFDD5FD05; Thu, 17 Mar 2022 11:31:02 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1647505862; bh=y4okb8u4vPpWQoxg9kRYRu10eVTvWGN37KpbgRv2jGA=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=oaay5TIgPLWl3+3PcdxWwZ4TOM5uTtEsi2Sj9bazOkGbhfZuYIPP9vb0rlAD0/mSa 8S4Gdh4uaF7oy7cV7aTcitjTLn/j7Mv8p3iM0qBFJPGZ68i6ASLvGYQ4T2p1gh0uJK oB87Wt8iYPbCOjBDamSIsiQZXZqUasFPAMGa34P4QMrZaDQhcAZ5eytWCnjvGFnpsg reLmjyXBSy3lAHwTGChIsXAK/r8Gfpd7QPK88sh0f7tU4I5B24SbTArIfQ9jQs3jpD 5mjA89q8hX2xLF8qE9qsvV1mXPKIMSwsLhRM34lUtkOjcLZQ7DpZ+4wVMJAoXVxtES FNz0Y6RSxhMBA== Received: from S-MS-EXCH02.sberdevices.ru (S-MS-EXCH02.sberdevices.ru [172.16.1.5]) by mail.sberdevices.ru (Postfix) with ESMTP; Thu, 17 Mar 2022 11:31:02 +0300 (MSK) From: Krasnov Arseniy Vladimirovich To: Stefano Garzarella CC: Krasnov Arseniy , Rokosov Dmitry Dmitrievich , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Krasnov Arseniy Vladimirovich Subject: [PATCH net-next v4 0/2] af_vsock: add two new tests for SOCK_SEQPACKET Thread-Topic: [PATCH net-next v4 0/2] af_vsock: add two new tests for SOCK_SEQPACKET Thread-Index: AQHYOdkn7YTNsId4DUmR+TugFQYSWA== Date: Thu, 17 Mar 2022 08:29:50 +0000 Message-ID: <97d6d8c6-f7b2-1b03-a3d9-f312c33134ec@sberdevices.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.1.12] Content-ID: <4B08A18727E4C94B97CE9E6C020F9BD3@sberdevices.ru> MIME-Version: 1.0 X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2022/03/17 04:52:00 #18991242 X-KSMG-AntiVirus-Status: Clean, skipped Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This adds two tests: for receive timeout and reading to invalid buffer provided by user. I forgot to put both patches to main patchset. Arseniy Krasnov(2): af_vsock: SOCK_SEQPACKET receive timeout test af_vsock: SOCK_SEQPACKET broken buffer test tools/testing/vsock/vsock_test.c | 215 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 215 insertions(+) v1 -> v2: see every patch after '---' line. v2 -> v3: see every patch after '---' line. v3 -> v4: see every patch after '---' line.