Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4966198imm; Tue, 19 Jun 2018 02:51:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKHe52kvFtfZAaMVw+ShR/YnpMoaX/eMS7Qak2YipxUj5NvF9vHOUwJWxc3r1H5Xa4yK5Ls X-Received: by 2002:a63:8048:: with SMTP id j69-v6mr14416929pgd.429.1529401862370; Tue, 19 Jun 2018 02:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529401862; cv=none; d=google.com; s=arc-20160816; b=NaoN84HhIfLRPShlwH1n3ZtQVbwr8mbFF0uGTBdsCAseIsoefXgWZ2uGP+nkqgiYay eMXBAg9df/VAJQ5XBjjz8JC52xfPMNitwNrInOd7d9NubUgYqSqZbwAvj4kQMlK7sIHl ULIfWSJlX/goSwmywfgkW36xw2T3wz6QyKvolIjmbXy9F6NLNd1wNzEfoScil4xdHYdk DMorb0URR32vK1ODwi+zbq70bMM88mpToN6aCiB1VY1L7/NSz4y0peJ2FeqVp4dFXzBD apuqH+GFPVU5PpXvwbbBlo0XRYQBR/9o1MpYZrgEYvKKIEd4ZZBjfa7n0fWjqT7NfUlI K++w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=G5Kncn/606JX2PUraEEcHPD6jS5kI055XzpCRaYt7Xo=; b=zjQTSrLyJQNHiG6HA4DbkLUfSid2gD/4fYJtoJd/K53HEepVygnWleF59qkFaAwnsR c3V1iqnLtcFwiG01r8FM+32JXISBtKVMpszaTpjPSgjaTeA325ivHTIzyvv5SNSGsGZD HXjlVkQCq+NwDI2xESdHrvdZWW/RByz2CcRnNJOgvv2rnfmc+fZ8muUy54SwDkDBMkaF oRtUzP9t1KDViCxF5li3UyNGAh2mOLmMe8mthW5iuMYpnI1iL3VvS6RbL75KjZRjDfmI 113vw+wOJJMTqvX3HOwFcPq21xfjEZA/vISDg01E2a3uP+WnctHS/k6B5NOPztiBTrM3 k0ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9-v6si17027536pfc.129.2018.06.19.02.50.48; Tue, 19 Jun 2018 02:51:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756939AbeFSJuL (ORCPT + 99 others); Tue, 19 Jun 2018 05:50:11 -0400 Received: from mga09.intel.com ([134.134.136.24]:24476 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755946AbeFSJuJ (ORCPT ); Tue, 19 Jun 2018 05:50:09 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jun 2018 02:50:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,242,1526367600"; d="asc'?scan'208";a="64424072" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.68.37]) by fmsmga004.fm.intel.com with ESMTP; 19 Jun 2018 02:50:05 -0700 From: Felipe Balbi To: linux-usb-owner@vger.kernel.org Cc: Zhouyang Jia , Greg Kroah-Hartman , Bhumika Goyal , Johan Hovold , Andrew Gabbasov , David Lechner , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: gadget: add error handling for skb_realloc_headroom In-Reply-To: <1528778503-41615-1-git-send-email-jiazhouyang09@gmail.com> References: <1528778503-41615-1-git-send-email-jiazhouyang09@gmail.com> Date: Tue, 19 Jun 2018 12:47:42 +0300 Message-ID: <87vaafw1j5.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, linux-usb-owner@vger.kernel.org writes: > When skb_realloc_headroom fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling skb_realloc_headroom. > > Signed-off-by: Zhouyang Jia From=20linux-usb-owner??? I can't apply this patch. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlso0T4ACgkQzL64meEa mQY/xhAAs+30wERTUootYBnVRVWG+nxRFYVuvpUSu6lzt3Kfelo3hd+woVkjBeHF xUNzUiE1DAWoSGBIAnY51RIGJtNS85Kc+Q4aULyVhKu/4vteq5kf5Ju+8yoLu98l yzK+uEHvsv73meHVBiEvfxvsnL4UNbjLS/MS3Q/kPVU0f6pYV2d8yRAT7blLMj1Z m2W0vHupB0a9jVxYht/VfelfCrxkTgCEuulx6dBubRUxu9zHrt+VmAfILrNLRghz TOZjkc2GRHcTeUIE0CsSgkSqsjUg8iUllbcS9UdZDb7a+7t5uRHomako1heWWUB/ d2U9M+ivYQTl+cCBUTCt2qEV1K/+XcN+nEoNaPnkmojF3Dcebj6tGlV6OZA4WKE2 4Iz1jgbDqN18x+KxtdIAiFLfz0qgL+Gk7YFSvmM21Q7JmviGEmaJhwy7NHalRYFZ qwJBzTJW6kVp6vwty/RJcwTGVdOedZGjoWawbrUZTPVmvPSu7HeISH6XaOAGWFSw 9is0CKXB0RbyJzT8YEG+XPEYNZ84umqQdnVeaBK0JQbCcEQWfCqMU6R7j+l/CEPw Gc3UHZXspWj5gcty8gRMQmsjT6d0pbyWIy85frcTO0IG2ogNoZ93c7W59On4VQsB P6gzeaRpF950DVCTlEUhGOhoFRIPrSEwfKG+VZb37M1mddyC/hk= =vh+D -----END PGP SIGNATURE----- --=-=-=--