Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1380958pxk; Fri, 4 Sep 2020 08:04:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNapYLe963fUe4vG0b3OLOX9WO5R/lzmDpo/+GEOaWJL2vXORjwhJ/GNE33lSruEPd3flK X-Received: by 2002:a17:906:3091:: with SMTP id 17mr8285221ejv.515.1599231856905; Fri, 04 Sep 2020 08:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599231856; cv=none; d=google.com; s=arc-20160816; b=l0rDw9vnu1kLh6CDxQtsQMv6z8UtmO4JfKMv3yXYi6AbbnXiWiw7QrzaVMT488pAlu WVN/bn2oyQdzrpN/aldqpRFu3Q+DN+I5Vz7JpQTs9pzWY9T+3ByaNa5xCT+bAPl9ylFE 5+BVBnc5whmVfkC/3FFbzMXauFxNooXuxNGbBc4InPxa7oRlNMs+Ok2ynhZvhdMRCsWU E+rNR0UAAHoxR+17/M5WBP1xWtrcE1a2TgTXB8U7pkhlvykEoabk08wgFvkCR4L1Nc/i skvDiA7Fs1Ws/OBU1n9EAFOYdbABpCV16pw3Mle0jRf2imhAX2w9gcGadqibXyH+q3Jw dewA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=YH9OZzxS/ehuvsSv7yVxWYbB6xvt3zFQWFLeO5JCMAU=; b=VPRqgRnaRFcBMyAAdjdk6oVOzWS+wQ/0Mpsd97GY08QtkDkzwrruumBtIXyfbbopeS ySwaksvQp0iz6pPpUNJx+BxCJ6ayXBKc/AyRmnIBa4IpkMQVp8aKOjjoxrLJDYle0Dlj dp2+EPbXl6cQ38mJ3hfVtYk/93HXe23rvKa1eramA6tPrChgOEbQqkfyr8J4Uwf2KlSJ GGkVUIx7nxmcZ1kiBb6/fCLU+9jQ2cw5ctsfYV+DdT+I5VpS/nb5OXSvh7Z/g6PC+Sn1 tD+a/ep+7Rs0njCESv3PsuDYlMSD237i42lh5FbSkE7+jgXByQXoUeTsD5S12QtjpXVR LhMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=htsQ614g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a1si3781998eju.696.2020.09.04.08.03.47; Fri, 04 Sep 2020 08:04:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=htsQ614g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730476AbgIDPDB (ORCPT + 99 others); Fri, 4 Sep 2020 11:03:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:53268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730202AbgIDPC7 (ORCPT ); Fri, 4 Sep 2020 11:02:59 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E5FE42073B; Fri, 4 Sep 2020 15:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599231779; bh=wycQ6jI9pjOiTB5GIp2mZuyFyDlyeuQ9huVpOEiGNBc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=htsQ614gJzrBICf3ZITx+iZk2nx7WN/yqvMGOxY3MATmyUrnWJsSI9Pg0c3Jq56tm 63i5K7T62hgsFtEj1HoH3hQQu95Nn0y+RDaLW8QQ+6nXu2QzYeu2fLGevjksP5N8mq KZ9E3hS88vzoqWlLX6qsM7yhXbGaZrZ6HsHaovXg= Date: Fri, 4 Sep 2020 08:02:57 -0700 From: Jakub Kicinski To: Henrik Bjoernlund Cc: , , , , , , , , , Horatiu Vultur Subject: Re: [PATCH RFC 4/7] bridge: cfm: Kernel space implementation of CFM. Message-ID: <20200904080257.6b2a643f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200904091527.669109-5-henrik.bjoernlund@microchip.com> References: <20200904091527.669109-1-henrik.bjoernlund@microchip.com> <20200904091527.669109-5-henrik.bjoernlund@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Sep 2020 09:15:24 +0000 Henrik Bjoernlund wrote: > + rcu_read_lock(); > + b_port = rcu_dereference(mep->b_port); > + if (!b_port) > + return NULL; > + skb = dev_alloc_skb(CFM_CCM_MAX_FRAME_LENGTH); > + if (!skb) > + return NULL; net/bridge/br_cfm.c:171:23: warning: context imbalance in 'ccm_frame_build' - different lock contexts for basic block