Re: Possible leak of multicast source filter sctructure
From: Michal Ruzicka <hidden>
Date: 2006-08-17 11:27:52
Hello David,
Michal,
I believe the patch I submitted yesterday fixes this
problem, and in a simpler way.Somehow I've missed that e-mail (It did not appear on the thread's list at MARC archives). Sorry for that.
+-DLSI've reviewed your patch (the IPv4 part of it) and I think I can say that our soulutions are actually quite similar. But I can come up with one difference that I'd like know your opinion on. Suppose the following situatuion: 1) create pppX interface: IP: A.B.C.D 2) join a multicast group by address: A.B.C.D ASSUMPTION: no other interface with the same IP address exists; the result should be that the group is joined on the pppX interface 3) create pppY interface IP: A.B.C.D (Yes the same IP, not unusual on ppp links.) 4) delete the pppX interace 5) attempt to leave the multicast group by address: A.B.C.D 6) * if your algorthim is used -EADDRNOTAVAIL is returned * if mine is used the multicast group is left on the pppX interface Surely this won't be a common problem but I think it's worth pointing out here. Michal