From patchwork Wed Mar 16 07:25:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arseniy Krasnov X-Patchwork-Id: 12782410 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 204D8C433F5 for ; Wed, 16 Mar 2022 07:26:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347423AbiCPH11 (ORCPT ); Wed, 16 Mar 2022 03:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245150AbiCPH1Z (ORCPT ); Wed, 16 Mar 2022 03:27:25 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 164FA5F8E0; Wed, 16 Mar 2022 00:26:04 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id E4D445FD04; Wed, 16 Mar 2022 10:26:00 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1647415560; bh=8Iauk+HjSwn8BjH9AFq0dUmuDvbHkJMAnyi2ZBNSZkw=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=MzYuD7UsCKmkMrolmjzLlC35yd5lCiedPVNA8ecq6Kmzp3j6qbJp85W0dnjn0QYOQ QtAU7jd968KOOOdPySodGGqn65ZYgTKSo3ajCcmcABWbZFZw4Z4p29LmN2RDIEcVKx atTDskYLUeq7Ou2saJxo+LkCH+30vFQC0K6nlKC19OW7jc0Nv1zmY9PNNpdflIVLkx 2je4ZxnZEHKo/AXDDFRcSfYTqxkF+e7xRpvubMlCh6PXg/dFhVYFtwXnSuus8wXatm k+QC06uyg+8AjyooYBGaaVgp1JcbsD/WTScRlBFmu622IyCtlYjp6sdGj/3HV+zg/W Zu6UDALHRf8eg== Received: from S-MS-EXCH02.sberdevices.ru (S-MS-EXCH02.sberdevices.ru [172.16.1.5]) by mail.sberdevices.ru (Postfix) with ESMTP; Wed, 16 Mar 2022 10:25:58 +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: [RFC PATCH v2 0/2] af_vsock: add two new tests for SOCK_SEQPACKET Thread-Topic: [RFC PATCH v2 0/2] af_vsock: add two new tests for SOCK_SEQPACKET Thread-Index: AQHYOQbyso2e/I/ekky/gZ0IvB2spg== Date: Wed, 16 Mar 2022 07:25:07 +0000 Message-ID: <1474b149-7d4c-27b2-7e5c-ef00a718db76@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: <85BC6D4351292846A2D936EEF0EA0315@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/16 03:19:00 #18979713 X-KSMG-AntiVirus-Status: Clean, skipped Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-State: RFC 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 | 211 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 211 insertions(+) v1 -> v2: see every patch after '---' line.