Re: Don't link multicast records to the first address

2013-11-27 Thread Martin Pieuchot
On 22/11/13(Fri) 08:42, Stuart Henderson wrote: > I tried the old version (I'm using igmpproxy on my firewall and have native > multicast over pppoe), no problems, but I haven't carefully read the diff yet. Thanks, I also got positive feedbacks from weerd@ who tested IPv6 Neighbor Discovery, so i

Re: Don't link multicast records to the first address

2013-11-26 Thread Mike Belopuhov
On 22 November 2013 09:26, Martin Pieuchot wrote: > On 18/11/13(Mon) 11:43, Martin Pieuchot wrote: >> Diff below changes the way protocol multicast addresses are linked to >> an interface. >> >> Right now they are added to a list attached to the first protocol >> address of an interface. That mak

Re: Don't link multicast records to the first address

2013-11-22 Thread Stuart Henderson
I tried the old version (I'm using igmpproxy on my firewall and have native multicast over pppoe), no problems, but I haven't carefully read the diff yet.

Re: Don't link multicast records to the first address

2013-11-22 Thread Martin Pieuchot
On 18/11/13(Mon) 11:43, Martin Pieuchot wrote: > Diff below changes the way protocol multicast addresses are linked to > an interface. > > Right now they are added to a list attached to the first protocol > address of an interface. That makes this address descriptor and > its position in the glo

Re: Don't link multicast records to the first address

2013-11-19 Thread Martin Pieuchot
On 18/11/13(Mon) 12:54, Alexey E. Suslikov wrote: > Martin Pieuchot nolizard.org> writes: > > > -1803,8 +1651,12 in6_delmulti(struct in6_multi > *in6m) > > > > > + s = splsoftnet(); > > + TAILQ_REMOVE(&ifp->if_maddrlist, &in6m->in6m_ifma, ifma_list); > > +

Re: Don't link multicast records to the first address

2013-11-18 Thread Alexey E. Suslikov
Martin Pieuchot nolizard.org> writes: > -1803,8 +1651,12 in6_delmulti(struct in6_multi *in6m) > + s = splsoftnet(); > + TAILQ_REMOVE(&ifp->if_maddrlist, &in6m->in6m_ifma, ifma_list); > + splx(s); > + > free(in6m, M_IPMADDR); > }

Don't link multicast records to the first address

2013-11-18 Thread Martin Pieuchot
Diff below changes the way protocol multicast addresses are linked to an interface. Right now they are added to a list attached to the first protocol address of an interface. That makes this address descriptor and its position in the global list special. Plus in the IPv6 case, a special kludge