Re: [PATCH] drivers: connector: cn_proc: allow limiting certain messages

From: David Miller
Date: Tue Feb 18 2020 - 15:35:48 EST


From: "Daniel Walker (danielwa)" <danielwa@xxxxxxxxx>
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.