> - Endpoint flags now need to be set via atomic bitops because they can
 > be set on both the iw_cxgb3 workqueue thread and user disconnect threads.

 > +    if (!test_bit(ABORT_REQ_IN_PROGRESS, &ep->com.flags)) {
 > +            set_bit(ABORT_REQ_IN_PROGRESS, &ep->com.flags);

for atomicity, should all the places that do test_bit then set_bit
really be using test_and_set_bit()?

it would be cleaner anyway.

 - R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to