From patchwork Thu Mar 17 05:24:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arseniy Krasnov X-Patchwork-Id: 12783518 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 6C076C433F5 for ; Thu, 17 Mar 2022 05:53:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229508AbiCQFyb (ORCPT ); Thu, 17 Mar 2022 01:54:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiCQFy3 (ORCPT ); Thu, 17 Mar 2022 01:54:29 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A83F8243179; Wed, 16 Mar 2022 22:25:32 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id 4B8325FD06; Thu, 17 Mar 2022 08:25:30 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1647494730; bh=0glQwIKIiSufGCHmagtfkwCzZanRCG4rlbbnru054do=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=Z6AnF60s2ny2xlua2Zj8AjBJDPp9hhIFgtEtfM29II9goDFQCkB+jrCuTKUspD/pK 8KdTZc/3JOiCeuthvymI0jrd2c1DXCTZazEmSgq8ZgFWyAsV85Luk7PbGhUPtguPHb KXUxjOmnWKmJbER24GS3/Rq9l4/yz+OwIy7AIEQ8FoQ86a6bzv/biz6A3ih1xmC3nx EGHFx+Gil/myM+ntONqTXlmo8qqsFMytw6MKmHcYybUWHGSkMBDdLyfWc8C1vHl92u RnpjoF607knrefpk479o8zwXbk4UlAMaRWLP9XpP+feh7vEPUHlyuCO0kJ4s2zTNjX R9jQBvOC8wWfQ== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mail.sberdevices.ru (Postfix) with ESMTP; Thu, 17 Mar 2022 08:25:28 +0300 (MSK) From: Krasnov Arseniy Vladimirovich To: Stefano Garzarella CC: Krasnov Arseniy , Rokosov Dmitry Dmitrievich , Krasnov Arseniy Vladimirovich , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH net-next v3 0/2] af_vsock: add two new tests for, SOCK_SEQPACKET Thread-Topic: [PATCH net-next v3 0/2] af_vsock: add two new tests for, SOCK_SEQPACKET Thread-Index: AQHYOb9BasW0R6dbkEaL5d59R2bAxg== Date: Thu, 17 Mar 2022 05:24:26 +0000 Message-ID: <4ecfa306-a374-93f6-4e66-be62895ae4f7@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: 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 01:49:00 #18989990 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.