Krishna Kumar wrote: > cma_new_id() does not require to do destroy_id(), instead > it can kfree(), since nothing is allocated on that id. > Posting this as an RFC in case anyone feels that create_id > should be cleaned up by destroy_id (even if redundant).
I can go either way on this. It's a little cleaner to match rdma_create_id() with rdma_destroy_id(), rather than matching it with kfree(). It makes maintenance easier. - Sean _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
