From: Mike Marciniszyn Date: Fri, 23 Sep 2011 17:17:00 +0000 (-0400) Subject: IB/qib: Remove s_lock around header validation X-Git-Tag: v3.2-rc1~104^2^11~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fd5473deb421eb7e5575a5f9d7e43ca67c04fe9;p=pandora-kernel.git IB/qib: Remove s_lock around header validation Review of qib_ruc_check_hdr() shows that the s_lock is not required in the normal case. The r_lock is held in all cases, and protects the qp fields that are read. The s_lock will be needed to around the call to qib_migrate_qp() to insure that the send engine sees a consistent set of fields. Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- Reading git-diff-tree failed