From 8124e61ed56c7a6c12ad1be373b2ea9ebec4b0a7 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Tue, 26 Nov 2013 13:16:19 -0800 Subject: [PATCH] librdmacm: Check 'init' under mutex ucma_ib_init() does a quick check that access to ibacm has been initialized. This check is done outside of the acm_lock mutex. We need to check init again inside of holding the mutex to ensure that we don't run the initialization code twice. -- 2.46.0