Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1295622pxb; Sat, 16 Apr 2022 04:33:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuJkAytJsI2fShkODcbLAcP8a5sFaINzbo3nqj0rUDEVSDZc3g/bp+OJ/ndctW8KAvx0Pi X-Received: by 2002:a17:906:9b93:b0:6da:6388:dc57 with SMTP id dd19-20020a1709069b9300b006da6388dc57mr2402004ejc.338.1650108812606; Sat, 16 Apr 2022 04:33:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650108812; cv=none; d=google.com; s=arc-20160816; b=yrQwWa4CRfy+A3y2qBmsvsKO/6DhZYa1ULb07Cc+7rT+ewewBXLsOlDHpF/PVUrFtf zMA9Qe7Sy6zY8lpdlUi1LvUz/lrhmwNTptrJf76oUE+bfFXOERlRq/uSqpemsF5M17sR 9ZMRbPaVmSPLe/zLo4ChJgaJclpSbBJA2SNP1zgAo0mFj9SwZR6vHINF67p6aK1l+0Nb RfuneRPlyCF6fDHG3H3H7JU7igWg7bR/mIQYA9Vb0syxAl8c+8GcGCVPFRU14vk6vzUm ZkS1ddzUCiFqop60UoAA1Bg59kA98ImgxFSW6+byNuKfeMGFn4Pdu1oQGx+T/MMW03+S G3ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=Wci9Il7J8wetpC5RlZmMGn0bKOP3JvqUfYp7PT1EcdY=; b=Z/LRTwiIsdJJoaRTfnRCaLqT8qMx4GL9NdSXjhH9hKzIDwrrTHoxtivR1e0Zt4ZLxf Z/tsaQjMnGdwbAJSppx6KPR1PighxqAwffphnwSI41O0nWWdwo1It0zyHpSrjZ5zqR1j zThMvRfnDAkHHZIAHT9Re+YqInJFbxY8psJmsWRte9WoUSAt5oE+HchCMfe02XM8eXnh WZJPmic73eEchIF0gAmt6WXD99q9zgdqPr2fPPCNtNw6TeXI0XWu/z44dUmy38xkDZmN tOqUDWJaTF4wLHLtvo4oIwQLAz1Y6XQ7V9FQMZvbhggJLPt9tWDD+DZVCrYQb+sS6bV/ F5wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p+GdkZdz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wq11-20020a170907064b00b006e89332a292si2683786ejb.340.2022.04.16.04.32.57; Sat, 16 Apr 2022 04:33:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p+GdkZdz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231689AbiDPLIQ (ORCPT + 99 others); Sat, 16 Apr 2022 07:08:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbiDPLID (ORCPT ); Sat, 16 Apr 2022 07:08:03 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D56193B562; Sat, 16 Apr 2022 04:05:23 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id bu29so17539331lfb.0; Sat, 16 Apr 2022 04:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to; bh=Wci9Il7J8wetpC5RlZmMGn0bKOP3JvqUfYp7PT1EcdY=; b=p+GdkZdzQe66I94lVpn/DDQKK/AJSohoyNsdgy23xL+fTDaymcjN9KGZ4brakcSYzB OUIeP1xSFjdxDUCqkavCJEsi98rebGXS1WU7YM20omcdoeue7hdankdu3BPpcjwJzdUa QfVeSNN0+bd9eN4LW8pSmJk9LT6FVKEvtb6BRQVHEhkSC9SfUMSWIZ2m4V244NeNt1TO GCYTYJbdbsIkce5T0Iu5Fc7/COrKL7GLQKdas0cHTtljtqAAw79ezKX28rLBv9y/3HjG HJ3ASDC9YG95mGPEHn3U8ANZ7OO2QxEbnj8ymw/d+eLys+0Ol0r4g+8AxFbT1oImwxPK CCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to; bh=Wci9Il7J8wetpC5RlZmMGn0bKOP3JvqUfYp7PT1EcdY=; b=tgtUXUFN4/yiXOR8O78DhCZBh4bXtgWFTK/YIAnQ3X3+siUxiPWrG++ZbZoH+j1BzX GScXrTFE36vihBFYpB925Rsr8YTJ7GCTCDxaQtk8D3n3dABpnssmPLsN0LozldASmNW8 DCye4xVHzJVjQSDPjuFF3hc3WTTg2LhCORZYy9d5WRudJAqBcDVaBjdUoUc/8lAFilvd OnAYc2eDNUKfynkGXkHN8KGoBNREhd5W3Bm2vxB2xw58pHUIsvN1QSbruTrFF8O3SiQY 1jUri5GxkaWbW1J/JrEdZE03q2w6tzXd9VXEemoWkIOvAzmI3x325o/ngjBwRzCA7apk 4fHA== X-Gm-Message-State: AOAM530RfuG5sGxfeXopxpREyZQOlEqWinBJWDe6GpbLuh5NmPdQhrD1 TVwXzPLjq+md/4GWS1MlKmw= X-Received: by 2002:a05:6512:1195:b0:44a:6ec3:4fe7 with SMTP id g21-20020a056512119500b0044a6ec34fe7mr2070990lfr.395.1650107121614; Sat, 16 Apr 2022 04:05:21 -0700 (PDT) Received: from [192.168.1.11] ([94.103.225.17]) by smtp.gmail.com with ESMTPSA id k38-20020a05651c062600b0024da9b13e91sm359255lje.103.2022.04.16.04.05.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Apr 2022 04:05:20 -0700 (PDT) Message-ID: <13bcf1cc-b75c-93d0-49cc-ecb99e291ee7@gmail.com> Date: Sat, 16 Apr 2022 14:05:19 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] net: ax88179: add proper error handling of usb read errors Content-Language: en-US To: David Kahurani , netdev@vger.kernel.org Cc: syzbot+d3dbdf31fbe9d8f5f311@syzkaller.appspotmail.com, davem@davemloft.net, jgg@ziepe.ca, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, phil@philpotter.co.uk, syzkaller-bugs@googlegroups.com, arnd@arndb.de, dan.carpenter@oracle.com References: <20220416074817.571160-1-k.kahurani@gmail.com> From: Pavel Skripkin In-Reply-To: <20220416074817.571160-1-k.kahurani@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------bI9o000ynnXmHdQv1XVQp1Hz" X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------bI9o000ynnXmHdQv1XVQp1Hz Content-Type: multipart/mixed; boundary="------------p9yASZ0dxDT0nWMmSaPSa6si"; protected-headers="v1" From: Pavel Skripkin To: David Kahurani , netdev@vger.kernel.org Cc: syzbot+d3dbdf31fbe9d8f5f311@syzkaller.appspotmail.com, davem@davemloft.net, jgg@ziepe.ca, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, phil@philpotter.co.uk, syzkaller-bugs@googlegroups.com, arnd@arndb.de, dan.carpenter@oracle.com Message-ID: <13bcf1cc-b75c-93d0-49cc-ecb99e291ee7@gmail.com> Subject: Re: [PATCH] net: ax88179: add proper error handling of usb read errors References: <20220416074817.571160-1-k.kahurani@gmail.com> In-Reply-To: <20220416074817.571160-1-k.kahurani@gmail.com> --------------p9yASZ0dxDT0nWMmSaPSa6si Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgRGF2aWQsDQoNCkFsbW9zdCBwZXJmZWN0LCBwbGVhc2Ugc2VlIG9uZSBjb21tZW50IGlu bGluZQ0KDQpPbiA0LzE2LzIyIDEwOjQ4LCBEYXZpZCBLYWh1cmFuaSB3cm90ZToNCj4gUmVh ZHMgdGhhdCBhcmUgbGVzc2VyIHRoYW4gdGhlIHJlcXVlc3RlZCBzaXplIGxlYWQgdG8gdW5p bml0LXZhbHVlIGJ1Z3MuDQo+IEluIHRoaXMgcGFydGljdWxhciBjYXNlIGEgdmFyaWFibGUg d2hpY2ggd2FzIHN1cHBvc2VkIHRvIGJlIGluaXRpYWxpemVkDQo+IGFmdGVyIGEgcmVhZCBp cyBsZWZ0IHVuaW5pdGlhbGl6ZWQgYWZ0ZXIgYSBwYXJ0aWFsIHJlYWQuDQo+IA0KPiBRdWFs aWZ5IHN1Y2ggcmVhZHMgYXMgZXJyb3JzIGFuZCBoYW5kbGUg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uIEFuZCB3cml0ZSBjYWxsIGlzIG5vdCANCnJlbGF0ZWQgdG8gdW5pbml0 IHZhbHVlIGJ1Z3MNCg0KDQoNCg0KDQpXaXRoIHJlZ2FyZHMsDQpQYXZlbCBTa3JpcGtpbg0K --------------p9yASZ0dxDT0nWMmSaPSa6si-- --------------bI9o000ynnXmHdQv1XVQp1Hz Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEER3XL3TplLQE8Qi40bk1w61LbBA0FAmJaou8FAwAAAAAACgkQbk1w61LbBA00 Jg//Q+sdmnfH53LV6rL7oisgCo74KI172/u+N2Wc3iJQR+AkSm5g8+ncTeGWGLz3PY2OJmfBJ8dA J+1xP8StPUFdxfQbqxCvaUrlANu6DT0XAjSEoqnUvfbgFRH/dddtiqB+XLHZkGt7UB/t7a/rTwYm yGt6YQsxZ6TBWp7TANVIq15oIrX5sw9wsOjWbkZKO6wsQkrOr/yGCWnAmGxzhEIQXDUWbkZn/bBR laDEmE1BAChD8G3xXSOashAX9PyKbG2ww/HHHiwJKW2UhgxeSuSSYICkKA5hZr86DFvTc0WSAXA2 +LKt6+AWpOrgtOSeJsj0Y1z9Fb5ZKRjSJJFytyGeqxG7kLudvEB00UcoAqWJoj8fAeGvZ0vZSgUo 59w9W5euaYUD1zfMPpSLVC0uBN6uwQT8+7/xax4rs2YsDMJeQJEsjd9im/fFc6eoJxvSDL6HROj8 M+PXaAzIAC1OoqlaSDJz7vL1JBmAFHwvv7vY7bv+zExKUQKxYeO1BuGt6TRGRx0+8vzr7vIiEXIC 3pxTM+8px0DDWht5DLmvo7u2KBJQqI3MjfyS6lm82KkSUhHE4ydcDdoG0Nqrynw3B7hrSqom8bBe lHHnnxMZ6+6bA8aILo+EDxp/OtVTZJj++5yv7wV4Ax+HYspKhG5K93jP8la54yfGNdfrVJy8qhEm EAw= =vWHq -----END PGP SIGNATURE----- --------------bI9o000ynnXmHdQv1XVQp1Hz--