[openib-general] [PATCH] ib_smi: Deregister agent when closing port

Hal Rosenstock halr at voltaire.com
Wed Oct 6 05:30:57 PDT 2004


ib_smi: Deregister agent when closing port

Index: ib_smi.c
===================================================================
--- ib_smi.c    (revision 936)
+++ ib_smi.c    (working copy)
@@ -593,6 +593,7 @@
        spin_unlock_irqrestore(&ib_smi_port_list_lock, flags);
  
        ib_dereg_mr(port_priv->mr);
+       ib_unregister_mad_agent(port_priv->mad_agent);
         kfree(port_priv);
  
        return 0;





More information about the general mailing list