Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932202Ab2B1O25 (ORCPT ); Tue, 28 Feb 2012 09:28:57 -0500 Received: from spaceboyz.net ([87.106.131.203]:57555 "EHLO spaceboyz.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755510Ab2B1O24 (ORCPT ); Tue, 28 Feb 2012 09:28:56 -0500 Date: Tue, 28 Feb 2012 15:28:46 +0100 From: David Lamparter To: Rodrigo Moya Cc: David Miller , javier.martinez@collabora.co.uk, javier@collabora.co.uk, eric.dumazet@gmail.com, lennart@poettering.net, kay.sievers@vrfy.org, alban.crequy@collabora.co.uk, bart.cerneels@collabora.co.uk, sjoerd.simons@collabora.co.uk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/10] af_unix: add multicast and filtering features to AF_UNIX Message-ID: <20120228142846.GD187520@jupiter.n2.diac24.net> References: <1329753455-1106-1-git-send-email-javier@collabora.co.uk> <20120224.153616.117399887784547022.davem@davemloft.net> <4F4B8C66.5060206@collabora.co.uk> <20120227.140535.1623396420455657443.davem@davemloft.net> <1330426059.2139.21.camel@megeve> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1330426059.2139.21.camel@megeve> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 19 On Tue, Feb 28, 2012 at 11:47:39AM +0100, Rodrigo Moya wrote: > > - slow readers: dropping packets vs blocking the sender. Although > > datagrams are not reliable on IP, datagrams on Unix sockets are > never > > lost. So if one receiver has its buffer full the sender is blocked > > instead of dropping packets. That way we guarantee a reliable > > communication channel. This sounds like a terribly nice way to f*ck the entire D-Bus system by having one broken (or malicious) desktop application. What's the intended way of coping with users that block the socket by not reading? -David L. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/