[ofw][patch] fix mcast receiver problem

Anatoly Greenblatt anatolyg at voltaire.com
Tue Jul 22 04:10:27 PDT 2008


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/20080722/1f4ddeda/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_mcast_receive_problem.patch
Type: application/octet-stream
Size: 900 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080722/1f4ddeda/attachment.obj>


More information about the ofw mailing list