[ofw][patch] fix mcast receiver problem

Tzachi Dar tzachid at mellanox.co.il
Thu Jul 24 06:09:29 PDT 2008


applied on 1445.
 
Thanks
Tzachi


________________________________

	From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Anatoly
Greenblatt
	Sent: Tuesday, July 22, 2008 2:10 PM
	To: ofw at lists.openfabrics.org
	Subject: [ofw][patch] fix mcast receiver problem
	
	
	Hi,
	 
	This fixes situation where ping to a multicast address prevents
applications listening to multicast traffic. Send-only is not supported
by SM and group would never be closed. All full-member joins that follow
would fail.
	 
	Regards,
	Anatoly.
	 
	Index: kernel/ipoib_port.c
	
===================================================================
	--- kernel/ipoib_port.c (revision 1426)
	+++ kernel/ipoib_port.c (working copy)
	@@ -3595,7 +3595,7 @@
	   ETH_IS_MULTICAST( p_eth_hdr->dst.addr ) )
	  {
	   if( ipoib_port_join_mcast( p_port, p_eth_hdr->dst, 
	-   IB_MC_REC_STATE_SEND_ONLY_MEMBER) == IB_SUCCESS )
	+   IB_MC_REC_STATE_FULL_MEMBER) == IB_SUCCESS )
	   {
	    IPOIB_PRINT_EXIT( TRACE_LEVEL_INFORMATION, IPOIB_DBG_SEND,
	     ("Multicast Mac - trying to join.\n") );
	@@ -3900,7 +3900,7 @@
	    if( ETH_IS_MULTICAST( p_eth_hdr->dst.addr ) )
	    {
	     if( ipoib_port_join_mcast( p_port, p_eth_hdr->dst,
	-     IB_MC_REC_STATE_SEND_ONLY_MEMBER) == IB_SUCCESS )
	+     IB_MC_REC_STATE_FULL_MEMBER) == IB_SUCCESS )
	     {
	      IPOIB_PRINT_EXIT( TRACE_LEVEL_INFORMATION, IPOIB_DBG_SEND,
	       ("Multicast Mac - trying to join.\n") );
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080724/81ee5e52/attachment.html>


More information about the ofw mailing list