Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6235150ybv; Tue, 18 Feb 2020 12:36:19 -0800 (PST) X-Google-Smtp-Source: APXvYqx1yG3TY07abceODFRoDFqBMLkNMItPtM0yjBAvZvxFOOUezydwPUH5IYRI3pcEFUj67A2J X-Received: by 2002:aca:32c3:: with SMTP id y186mr2519502oiy.114.1582058179733; Tue, 18 Feb 2020 12:36:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582058179; cv=none; d=google.com; s=arc-20160816; b=WUYqrb45rV3YzSgdzX44NN7LtMPNNQ7LpDJ70jyCf5ZVtsVt44Uru5s3oUPe5asESd qRa2tn2iN9zxkLrJ2Ln06sVHLySw3Y4Cbn3a2/9eNFJp433uG5maydgy7t5xhCuEWOaq 4KPQ8eiYpDsp57CSzEm1pi8uYgFn6tQdL7ieAX1oU67z2Imo6NQeTOOcXWFeAByenziF hWcaH+h1R1YPmv0XOorH861IStAnk9tibcuCUnktO3YMx2OKgGabgvWX+lRV1o3te0UJ gW6yYSBQKzGtLK+tGLHJRRE3DtZhMiiCX0QGKYigArCa8SCLPCKXtW7zhBiHq+Jxghig jyfA== 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:from:subject:cc:to:message-id:date; bh=Nosd+co85TPyS/m9LuRkPe0DISL0T4sot9+PoPpqYVw=; b=dD7uBmn+PLm8GjtIagAoUgeUbxFMB2yI3kF2vC3is50rQuhkxMBWONnqdFw2bj/K+J K6IQBxpDK2qE1YLY0oqmwp90gsozA07ZCqvqPMNvnkY7kbc3DczFOg0AstfkHv2Q0UkQ YoTvDpKwbtxHfig5Wto3UMtEtJLveMpst3Z4jWb1idXeShqGY8ciEu/D/hyCh1OQPfk8 uu8KFt2OQkAcLGiC0xz6pRRMlT5DjRvu4zZvCa9CM+CAOZamHdN1yt4B7F+wEjw7T6Ny N3u1rmj3LMR+kQVys4lpHSY8HRQrHpgmYs0ACJ24WFh/RlMxOMcN2ETPL3Jt4FUGVAN7 nR/Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i78si8878518oib.1.2020.02.18.12.36.07; Tue, 18 Feb 2020 12:36:19 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726756AbgBRUfr (ORCPT + 99 others); Tue, 18 Feb 2020 15:35:47 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:36920 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgBRUfr (ORCPT ); Tue, 18 Feb 2020 15:35:47 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id C843712357E95; Tue, 18 Feb 2020 12:35:46 -0800 (PST) Date: Tue, 18 Feb 2020 12:35:46 -0800 (PST) Message-Id: <20200218.123546.666027846950664712.davem@davemloft.net> To: danielwa@cisco.com Cc: zbr@ioremap.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: connector: cn_proc: allow limiting certain messages From: David Miller In-Reply-To: <20200218163030.GR24152@zorba> References: <20200217175209.GM24152@zorba> <20200217.185235.495219494110132658.davem@davemloft.net> <20200218163030.GR24152@zorba> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 18 Feb 2020 12:35:47 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Daniel Walker (danielwa)" Date: Tue, 18 Feb 2020 16:30:36 +0000 > It's multicast and essentially broadcast messages .. So everyone gets every > message, and once it's on it's likely it won't be turned off. Given that, It seems > appropriate that the system administrator has control of what messages if any > are sent, and it should effect all listening for messages. > > I think I would agree with you if this was unicast, and each listener could tailor > what messages they want to get. However, this interface isn't that, and it would > be considerable work to convert to that. You filter at recvmsg() on the specific socket, multicast or not, I don't understand what the issue is.