Message ID | SA2PR11MB47770A9C3665761D697086C6D5089@SA2PR11MB4777.namprd11.prod.outlook.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Netdev Maintainers |
Headers | show
Return-Path: <netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BCAAC4743C for <netdev@archiver.kernel.org>; Wed, 23 Jun 2021 11:37:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4E8BF6102A for <netdev@archiver.kernel.org>; Wed, 23 Jun 2021 11:37:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230189AbhFWLkD (ORCPT <rfc822;netdev@archiver.kernel.org>); Wed, 23 Jun 2021 07:40:03 -0400 Received: from mga11.intel.com ([192.55.52.93]:63084 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbhFWLkC (ORCPT <rfc822;netdev@vger.kernel.org>); Wed, 23 Jun 2021 07:40:02 -0400 IronPort-SDR: wuCr1dXK9RS6zbUU3IUf46TOq5KARiqhOnrrBqGraRHY+jrSvuox6rIkq1awtVlEVDlWMpOPcD WmEIEtnr4FAg== X-IronPort-AV: E=McAfee;i="6200,9189,10023"; a="204235219" X-IronPort-AV: E=Sophos;i="5.83,293,1616482800"; d="scan'208";a="204235219" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2021 04:37:45 -0700 IronPort-SDR: S2ADK69CeK8No3oXD0KFxKaw/YGcbSc+J+pgl1IhcTaSZkg92hNqFk8cBDVIaSdflZUCDmHVFL 3TkBuwGHzxSA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,293,1616482800"; d="scan'208";a="454621510" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 23 Jun 2021 04:37:45 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 23 Jun 2021 04:37:44 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Wed, 23 Jun 2021 04:37:44 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Wed, 23 Jun 2021 04:37:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OjuorYrVjhAVxnRaYN/4KzgRf3DLK+lApwHsfHzxAXCC8xpzLTo8qh6s+gTAwRlSIlKA1hCMX8hA56elBHNXDc29MbRbP/+FrTAEJEaExr/Aunac/F5v1pXopji3sTqc+sFdxyctoOwhx0V3tQawnE+42djraGD8ChZCpcmJ86Q6+2Jdh61nDsVPCz3iZ6rYhSADU3c0nFbXQhv06c71pLCpV44nW3WUfs57Hz3Op5PehQ8UKCsmmKD8DWGDaRfO74YnbpXanOKhu4UOZ+fhV9a01e9Jj2MStI+1pBC1SdxBPSdmK99oDEaDEH+tUsT7Q2+4htAeg/ghYTj6id/5uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e7KeL2jfeAsF+yvoZxuZb1niT00HBEowrwiGKQyUQHs=; b=NbfYqQODJHf5bJTxxgKADlyyYXW63SjaslsMpC8+r0vMLrcB99TmwAJwsxUr6HWxvh0iFgqOW1YK3/PriR6i2SeD6dIgj5CQbH2JkDE7SrWnZbaYyDAdNLHLLaJGxDjWb+LjmENLadfkWFxpumqJ+ypeADt2oSOvShCyGeDpkjLtzDtA0fD44YYdZGqXb22D+hV19Gnsil8/xr1nx97N9oVKQku+5y2dyDuZTePTk1M9OLiuVQCZSIgHc8oav70soBOYmdPylhYxXqi4Bt3VFwuXEa1ZwtVCuSal25IvGmRV5YM2vkI+I1zLVsvnZ1aiJSo2rZiDsttwSNNC7Ldwag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e7KeL2jfeAsF+yvoZxuZb1niT00HBEowrwiGKQyUQHs=; b=idmXIH5de7KE1ArlcqPRnWb20UKLKg4NRtYr8IIZ2X2eQv0+3vVa6TKIewLXqu78lQRdk/bfEJqlOpkzeT9XWAtdmXqeDivL6D57v43hUWfJ3ICrz/viu4f/2ZGjAAkVG/kcbwYbo5I0EbTwrUVzQ026zFGqS3obHAAwcnAz4nY= Received: from SA2PR11MB4777.namprd11.prod.outlook.com (2603:10b6:806:115::24) by SA0PR11MB4688.namprd11.prod.outlook.com (2603:10b6:806:72::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Wed, 23 Jun 2021 11:37:43 +0000 Received: from SA2PR11MB4777.namprd11.prod.outlook.com ([fe80::4426:b918:4325:f2ea]) by SA2PR11MB4777.namprd11.prod.outlook.com ([fe80::4426:b918:4325:f2ea%9]) with mapi id 15.20.4242.023; Wed, 23 Jun 2021 11:37:43 +0000 From: "Ismail, Mohammad Athari" <mohammad.athari.ismail@intel.com> To: netdev <netdev@vger.kernel.org> CC: Jose Abreu <joabreu@synopsys.com> Subject: [BUG] Kernel panic when running stmmac selftest Thread-Topic: [BUG] Kernel panic when running stmmac selftest Thread-Index: Addn/CZFyMX+RtMtS0K/3u5i9rQBrw== Date: Wed, 23 Jun 2021 11:37:43 +0000 Message-ID: <SA2PR11MB47770A9C3665761D697086C6D5089@SA2PR11MB4777.namprd11.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [175.136.124.169] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c89234dc-a69e-4f25-e6e3-08d9363b50a8 x-ms-traffictypediagnostic: SA0PR11MB4688: x-microsoft-antispam-prvs: <SA0PR11MB46884EBAD3710AE4584936FAD5089@SA0PR11MB4688.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:3968; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YYyiOYPC07K5Xltlzr4HgixpXLwci5YsqXQhIFASqCaFey8a+E1pjHCtb7wWV3fRltdxbrAIa7SJZiLE9JwJk+yTyU1xML47FnsgymBs3XnQjkHfL/jIoeN5C1wlzbIsNCM+8kjz2aFffQWvCk0kl0ZT7CShEr24KWy2VaeT/D+lU9NcCiN/ZkP7do3/PnWI9UVPhAyS3OSjcjqdvDsAlpP1smexwbO7TivCOGYhFbwGT2Wby3YGWwTuTbNe3VqVvVjcNwrwvY8sVQTSsvyfOzQ7x6Qg3Y/WTDj+iTrQI1D31YWdA327rNgQeO/foeN0chPAmrCX/R7RGEMT6SIPZZ2OvVYxajW3BtK9kelJuCd0AxzMa+6EdKGaemIZIxyGqY4T61oVyiNM8PNdf7Jjzsr/Vca43mZixpGRQgAfec6OJIHqe1IYshgjuYfhCy4/pKKWm3wC7AY2ThvBAkqIG5fkj3PsCfhEogyd9VAvhgH/n3dHc7vEJZiEDbwdrSqqN8FlJJ6lSuIZYBTt1xYCufPRwkmmRoM4q7FFEIVvZbBJPOPx316uAIPHJdn+S1mdbTLNh8rhRfNREDJBgHXJZ2KuxhAanacG4vOMQV+0HYr646+ElIJEilFh2xBTujO/JSYbfq1Y8yYPaoDJTJhZtQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA2PR11MB4777.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(396003)(376002)(366004)(346002)(39860400002)(66946007)(83380400001)(76116006)(2906002)(71200400001)(4326008)(45080400002)(316002)(38100700002)(66556008)(64756008)(8676002)(8936002)(66446008)(66476007)(6916009)(122000001)(86362001)(478600001)(26005)(55016002)(9686003)(52536014)(7696005)(5660300002)(186003)(33656002)(6506007)(55236004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: wLoqJvRdrwyofUfY8LQF85gmV3VV+4ImJpl4cnOasXYTJ1YwKfwp9eA1WXVdPkCix8FpYuFOfPjo0/AnhgJU4d62OZT7YIvSRReakwAq12nARjnuDe+Mdc++TQMF8nt7xToEQ0swlLn26hIhvGUll+nR7fG+YcdjUgmbvPnh5GBy7YSWAWEAJ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sJ2q4qKFgz7iBQiCwDoojatd+qG4/GgVVuI3P5RC5GyWM5QHorTm2oFimX+qj93GlZpl7eh1aWDvI1AZsi4F54aCKPUV x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR11MB4777.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c89234dc-a69e-4f25-e6e3-08d9363b50a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2021 11:37:43.2996 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AJuxb/UK4O4hvU1ds5rJ3CMHlO0Yoip4yzpjnF7L1suPcjirDNnaZyDochU7ZJIAAAPEk0uOpudMJ7adUEDv50S3BotzodKv8ghkOFMfKKyn9mqJhOauZ+QUuOFaNzdI X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4688 X-OriginatorOrg: intel.com Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org |
Series |
[BUG] Kernel panic when running stmmac selftest
|
expand
|
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Guessing tree name failed - patch did not apply |
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c index 0462dcc93e53..53b1a9efb3d4 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c @@ -261,6 +261,10 @@ static int stmmac_test_loopback_validate(struct sk_buff *skb, if (!skb) goto out; + skb = skb_share_check(skb, GFP_ATOMIC); + if (!skb) + goto out; + if (skb_linearize(skb)) goto out; if (skb_headlen(skb) < (STMMAC_TEST_PKT_SIZE - ETH_HLEN))