[ofa-general] [PATCH 1/2] IB/core: handle race between elements in qork queues after event

Roland Dreier rdreier at cisco.com
Mon May 19 15:05:59 PDT 2008


 > and what happens if alloc_mad() is called while port->sm_ah is NULL?

Trivial fix seems to be to move the test for whether port->sm_ah is NULL
into alloc_mad(), and have it return -EAGAIN if so.

 - R.



More information about the general mailing list