Received: from eggs.gnu.org ([208.118.235.92]:37662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDXHT-00058f-GS for qemu-devel@nongnu.org; Thu, 07 Mar 2013 04:38:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDXHR-0004qH-T3 for qemu-devel@nongnu.org; Thu, 07 Mar 2013 04:38:31 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:43597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDXHR-0004pd-NP for qemu-devel@nongnu.org; Thu, 07 Mar 2013 04:38:29 -0500 Received: by mail-ee0-f46.google.com with SMTP id e49so146083eek.5 for ; Thu, 07 Mar 2013 01:38:29 -0800 (PST) Date: Thu, 7 Mar 2013 10:38:26 +0100 From: Stefan Hajnoczi Message-ID: <20130307093826.GE13854@stefanha-thinkpad.redhat.com> References: <20130305163510.GC3177@type.bordeaux.inria.fr> <20130306122937.GD1954@stefanha-thinkpad.muc.redhat.com> <20130306131525.GC6173@type.bordeaux.inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130306131525.GC6173@type.bordeaux.inria.fr> Subject: Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 broken List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault , ped@listes.subiron.org, qemu-devel@nongnu.org On Wed, Mar 06, 2013 at 02:15:25PM +0100, Samuel Thibault wrote: > Stefan Hajnoczi, le Wed 06 Mar 2013 13:29:37 +0100, a écrit : > > On Tue, Mar 05, 2013 at 05:35:10PM +0100, Samuel Thibault wrote: > > Unfortunately net/socket.c does not have the concept of a link-layer > > address, so we cannot easily filter out multicast packets coming from > > our NIC's address. > > > > Are you aware of a way to filter out just the packets sent by *this* > > process? > > I haven't seen any in the Linux source code. One thing that should > work, however, is to use recvfrom, and drop whatever comes from our > sockname. Sounds like a plan :). Stefan