Calling umad_get_port() repeatedly leaks memory because the pkeys
structures are re-allocated each time.
This adds the ca_name and portnum to the local_port_t to guard against
future versions of libibumad de-allocating either of those fields during
umad_port_release().
Fix memory leak in IB pmda
Calling umad_get_port() repeatedly leaks memory because the pkeys
structures are re-allocated each time.
This adds the ca_name and portnum to the local_port_t to guard against
future versions of libibumad de-allocating either of those fields during
umad_port_release().