File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -974,6 +974,8 @@ static void cm_enter_timewait(struct cm_id_private *cm_id_priv)
974
974
unsigned long flags ;
975
975
struct cm_device * cm_dev ;
976
976
977
+ lockdep_assert_held (& cm_id_priv -> lock );
978
+
977
979
cm_dev = ib_get_client_data (cm_id_priv -> id .device , & cm_client );
978
980
if (!cm_dev )
979
981
return ;
@@ -1005,6 +1007,8 @@ static void cm_reset_to_idle(struct cm_id_private *cm_id_priv)
1005
1007
{
1006
1008
unsigned long flags ;
1007
1009
1010
+ lockdep_assert_held (& cm_id_priv -> lock );
1011
+
1008
1012
cm_id_priv -> id .state = IB_CM_IDLE ;
1009
1013
if (cm_id_priv -> timewait_info ) {
1010
1014
spin_lock_irqsave (& cm .lock , flags );
@@ -1823,6 +1827,8 @@ static void cm_format_rej(struct cm_rej_msg *rej_msg,
1823
1827
const void * private_data ,
1824
1828
u8 private_data_len )
1825
1829
{
1830
+ lockdep_assert_held (& cm_id_priv -> lock );
1831
+
1826
1832
cm_format_mad_hdr (& rej_msg -> hdr , CM_REJ_ATTR_ID , cm_id_priv -> tid );
1827
1833
IBA_SET (CM_REJ_REMOTE_COMM_ID , rej_msg ,
1828
1834
be32_to_cpu (cm_id_priv -> id .remote_id ));
You can’t perform that action at this time.
0 commit comments