[openib-general] [PATCH] Fix leak on MAD initialization failure

Sean Hefty sean.hefty at intel.com
Wed Oct 5 16:15:17 PDT 2005


>It seems that there is a bug in ib_mad_init_device(): if
>ib_agent_port_open() fails for a given port, then the current code
>doesn't call ib_mad_port_close() for that port.  I think something
>like the patch below is needed.

The patch looks fine.  Did you want to commit this, or have myself or Hal do it?

- Sean




More information about the general mailing list