Message ID | 20190108164732.4024-3-idosch@mellanox.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=mellanox.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="HVxSVsR/"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43Yyr771mKz9sLw for <patchwork-incoming-netdev@ozlabs.org>; Wed, 9 Jan 2019 03:48:23 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729067AbfAHQsX (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Tue, 8 Jan 2019 11:48:23 -0500 Received: from mail-eopbgr50086.outbound.protection.outlook.com ([40.107.5.86]:21248 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728791AbfAHQsW (ORCPT <rfc822;netdev@vger.kernel.org>); Tue, 8 Jan 2019 11:48:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VGHxwQKp2NOsYpN75aW13KPF6WUgLANVDxLwUy90Qv8=; b=HVxSVsR/wkaTk/mWdmu4z46Io3wxavMMm/iu9O8NrFYBI+wSGLfJ4pbGVUnqs6i7B2F5k+MI3ebrJZMquJZ+XkkPdAr1sq+j2Op2TzOCRo0zhN5MYNCBg9BInc34qLDn27r4dpYD+vz8jA1P4dnhGUncEPLDVLDKq8vxuhSfkdM= Received: from AM6PR05MB6056.eurprd05.prod.outlook.com (20.179.2.148) by AM6PR05MB4405.eurprd05.prod.outlook.com (52.135.163.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Tue, 8 Jan 2019 16:48:04 +0000 Received: from AM6PR05MB6056.eurprd05.prod.outlook.com ([fe80::5490:e4ea:7798:e65f]) by AM6PR05MB6056.eurprd05.prod.outlook.com ([fe80::5490:e4ea:7798:e65f%3]) with mapi id 15.20.1516.010; Tue, 8 Jan 2019 16:48:04 +0000 From: Ido Schimmel <idosch@mellanox.com> To: "netdev@vger.kernel.org" <netdev@vger.kernel.org> CC: "davem@davemloft.net" <davem@davemloft.net>, Jiri Pirko <jiri@mellanox.com>, Petr Machata <petrm@mellanox.com>, Nir Dotan <nird@mellanox.com>, mlxsw <mlxsw@mellanox.com>, Ido Schimmel <idosch@mellanox.com> Subject: [PATCH net 02/11] mlxsw: spectrum_acl: Remove ASSERT_RTNL()s in module removal flow Thread-Topic: [PATCH net 02/11] mlxsw: spectrum_acl: Remove ASSERT_RTNL()s in module removal flow Thread-Index: AQHUp3Hsu7y9n14p0UuCMpC8FtJMzw== Date: Tue, 8 Jan 2019 16:48:04 +0000 Message-ID: <20190108164732.4024-3-idosch@mellanox.com> References: <20190108164732.4024-1-idosch@mellanox.com> In-Reply-To: <20190108164732.4024-1-idosch@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P192CA0024.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:83::37) To AM6PR05MB6056.eurprd05.prod.outlook.com (2603:10a6:20b:ab::20) authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR05MB4405; 6:if2hu2PggTPXpyphV5UxqD5cFEQQ/zIP+p3Qsh4iYP59BIaMppkycMOu30DU2JLzstY/AlbdBRtMOAgjvhTVQT0WppELvQtp3qvxsv9bfho49pAUKIlodAqMnnNMh5E/Cem4vodevwVpDaC8/9I5YA2X2rSYCFMdl2wTT4EKjITvkopFjP6vTNjpLnuYFGNu8xYaByfH0RzD7ORcekYjmJSGSQqGvwSEQ4i5WHVuHdBh+F+BmJRhHXMRhfcdm6Mk7Bioa6lV08WqaCHNbkTI05M6/n0O7jLFQnCI/e2Kk6B5odUCRLog+ZeRogUnGer2Y0TOXj2fAQJ2R5fJ6tBPp4X9/zOR5jC7bmUYu0ks62ARefOUOrfVe/lad9u9Vyjs17MxSs8/yYriKw1OEew7xrdQzTP3wFRRavjdktn2AwdKHtgB40KaiQ9IWmlvrrT8SiVkZVxzuM1dWG7m/zJnMA==; 5:Q1NV4heTBKqvaV6IHmKMkQP0iFUGeX5nPDMTNihi2G8BBlKgmXVSAfZjxgc1AVTgNnHs3Ke1vDHhZnrGEzQp0cJjG5vCimqISOqzcFT+1jSPTPPj6PgO/PQu2E6pqenZBI8yRmf4NdDnQNHwVO8jvEKEZDXhz76ClOAeYtj8GC/cii4PX3uso6rVdYfD28l5GIYS3j9ij9EkcplFgMRqDQ==; 7:HBobZFZf/n+7iEapI4e0+CJ63gC91qOT/yLG095JTDvvptykJmmmdVyFhODhNoFom62UWFZk/Hjso/uzWMfXYF3IZeaGFvQnwDYHkPqAuToXYYzRtQG/GBJxZ7Q95t5iuY3SVaHYTp2fEyG6fQ6+1Q== x-ms-office365-filtering-correlation-id: 38fa2bc3-cac1-4ebf-d304-08d675890eed x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR05MB4405; x-ms-traffictypediagnostic: AM6PR05MB4405: x-microsoft-antispam-prvs: <AM6PR05MB4405D1708DD716ED008E0E92BF8A0@AM6PR05MB4405.eurprd05.prod.outlook.com> x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:AM6PR05MB4405; BCL:0; PCL:0; RULEID:; SRVR:AM6PR05MB4405; x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(39860400002)(396003)(366004)(189003)(199004)(106356001)(105586002)(2906002)(6486002)(6116002)(3846002)(99286004)(6506007)(305945005)(486006)(7736002)(102836004)(386003)(76176011)(86362001)(52116002)(26005)(66066001)(5640700003)(6436002)(186003)(97736004)(2501003)(6512007)(2351001)(25786009)(1076003)(66574012)(478600001)(81156014)(8936002)(36756003)(81166006)(68736007)(4326008)(50226002)(5660300001)(14444005)(256004)(1730700003)(107886003)(8676002)(6916009)(53936002)(54906003)(316002)(11346002)(14454004)(2616005)(71200400001)(71190400001)(476003)(446003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB4405; H:AM6PR05MB6056.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: AeUKE6XZX1r/I7Jh0dHLZR4MUyCLeuUp+75QhgJcJ/hndagCvU6lkt9AP33opbuk3Sfr41Q6o8YEeA/dQhmgOiT6aTzki44HCu5MBYzGPCIAmo634/IDmtd1uPmYe5vOGbq3DdPhru9lXMntkiuVlurgP4VOpIqE69KkrBK2nC5sK0qLi0dHtuvG+scZi6l6cNkvi8keyVPirXL+paMBPCmpK2LYh746VwUiTpp5EBkSvlfQ8Py76fth8lEVE42SaFSJHu8V0QB5/xKAr+WuBhlwegaFyYsVv8FEPzxeliyLaS9qQF5HcoFwrfvA/BoX spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38fa2bc3-cac1-4ebf-d304-08d675890eed X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 16:48:03.5406 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4405 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
mlxsw: Various fixes
|
expand
|
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c index 1c19feefa5f2..2941967e1cc5 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c @@ -1022,7 +1022,6 @@ void mlxsw_sp_acl_erp_mask_put(struct mlxsw_sp_acl_atcam_region *aregion, { struct objagg_obj *objagg_obj = (struct objagg_obj *) erp_mask; - ASSERT_RTNL(); objagg_obj_put(aregion->erp_table->objagg, objagg_obj); } @@ -1054,7 +1053,6 @@ void mlxsw_sp_acl_erp_bf_remove(struct mlxsw_sp *mlxsw_sp, const struct mlxsw_sp_acl_erp *erp = objagg_obj_root_priv(objagg_obj); unsigned int erp_bank; - ASSERT_RTNL(); if (!mlxsw_sp_acl_erp_table_is_used(erp->erp_table)) return;