Re: How to handle illegal multicast addresses in IPoIB?

Or Gerlitz
2009-09-21T14:33:45Z

Moni Shoua wrote:
> One patch (http://lists.openfabrics.org/pipermail/general/2009-August/061663.html) checks each
> multicast address for validity before it lets it get into the queue.

isn't it the below commit which appears in Linus tree?

Or.
> commit 5e47596bee12597824a3b5b21e20f80b61e58a35
> Author: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
> Date: Sat Sep 5 20:23:40 2009 -0700
>
> IPoIB: Check multicast address format
>
> Check that the format of multicast link addresses is correct before
> taking them from dev->mc_list to priv->multicast_list. This way we
> never try to send a bogus address to the SA, which prevents badness
> from erronous 'ip maddr addr add', broken bonding drivers, etc.
>
> Signed-off-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
> Signed-off-by: Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>