[PATCH 23/27] staging: lustre: take extra refcount in kiblnd_connreq_done

2016-03-02 Thread James Simmons
From: Liang Zhen refcount taken by cmid is not reliable after kiblnd_connreq_done released the glock because this connection is visible to other threads, another thread can find and close this connection right after kiblnd_connreq_done released the glock, if

[PATCH 23/27] staging: lustre: take extra refcount in kiblnd_connreq_done

2016-03-02 Thread James Simmons
From: Liang Zhen refcount taken by cmid is not reliable after kiblnd_connreq_done released the glock because this connection is visible to other threads, another thread can find and close this connection right after kiblnd_connreq_done released the glock, if kiblnd_cm_callback for