From: Ling, X. <xia...@in...> - 2004-06-10 09:41:24
|
Yes, that's problem.The broadcast packet is not received by sender, maybe we need to copy one to sender self. how about this patch? (The reture value still need to be resolved) Index: sendbcast.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/tipc/source/unstable/net/tipc/sendbcast.c,v retrieving revision 1.18 diff -u -r1.18 sendbcast.c --- sendbcast.c 2 Jun 2004 21:31:36 -0000 1.18 +++ sendbcast.c 10 Jun 2004 09:38:57 -0000 @@ -240,6 +240,9 @@ } else { bcast_set_timer(16 * RTT); check_bcast_outqueue(); + struct sk_buff *copybuf; + copybuf =3D buf_clone(b); + bcast_port_recv(copybuf); res =3D tipc_bsend_buf(b, &mc_head); } free_mclist(&mc_head); >-----Original Message----- >From: tip...@li...=20 >[mailto:tip...@li...] On Behalf=20 >Of Mark Haverkamp >Sent: 2004=C4=EA6=D4=C210=C8=D5 6:48 >To: tipc >Subject: [Tipc-discussion] REPLICA_NODES set to 1 > >Just for testing, I set REPLICA_NODES to 1 to test out bcast instead of >the replicated mcast. I found that with the replicated sending, that >all the nodes receive the message. But with bcast, all nodes but the >sending node receives. This doesn't sound right to me. The sending >node should also receive bcast messages shouldn't it? > >Mark. > >--=20 >Mark Haverkamp <ma...@os...> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: GNOME Foundation >Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. >GNOME Users and Developers European Conference, 28-30th June in Norway >http://2004/guadec.org >_______________________________________________ >TIPC-discussion mailing list >TIP...@li... >https://lists.sourceforge.net/lists/listinfo/tipc-discussion > > |