[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090609.221209.07018418.davem@davemloft.net>
Date: Tue, 09 Jun 2009 22:12:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rdreier@...co.com
Cc: cl@...ux-foundation.org, netdev@...r.kernel.org,
yosefe@...taire.COM
Subject: Re: IPoIB: Fix multicast packet drops before join is complete
From: Roland Dreier <rdreier@...co.com>
Date: Tue, 09 Jun 2009 22:04:21 -0700
> > If a facility doesn't exist yet, we're going to have to create
> > one. It would need to do a downcall to the device when the
> > user joins a multicast group on a socket, and then the device
> > can do whatever magic is necessary to speak multicast immediately
> > and sleep until it really is available for immediate use.
>
> But a send-only membership is created when a multicast packet is sent,
> which an application can do just with sendto() -- do we want to plumb
> all the way from sendto() down to the device the packet is ultimately
> going to be sent on?
>
> There isn't any corresponding code to block an app during ARP
> resolution, is there?
Nope.
But the problem is that it's incredibly invasive to applications
how IPoIB behaves for multicast traffic. It's much more biting
than ARP because usually ARP hits you when you do your connection
attempt or initial DNS request, then it's resolved and smooth
sailing.
Here the app can send a voluminous amount of application data
at the destination and it'll mostly drop on the floor currently.
This is bad.
ARP doesn't typically toss real application data, this does.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists