[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 03485) [Fwd: MLDv2/SSM Linux 2.6.13 bug]



--- Begin Message ---
Hi,

I think i experimented a bug in the MLDv2/SSM API. Here it is :

if you bind two socket(say sA and sB) on the same group (say *,G) and on 
the same port (say P), and if you join
two different SSM channels (say sA on S1,G and sB on S2,G) on these socket (one per socket) 
in a same process, both sockets will receive data from both channels S1,G and S2,G. 


For me, this is a bug, because each sockets should receive data from only one joined channel, 
aka sA should only receive data from S1,G and sB should receive from S2,G even if their are bound
on *,G. One solution to prevent this is to bind on their respective channel or to bind on two different
ports for both sockets, but in some applications you may want to change the joined channel dynamically and several sockets.

Thanks,

Hoerdt Mickaël





--- End Message ---