diff --git a/smb1pdu.c b/smb1pdu.c index 63a52e87..b1ec5433 100644 --- a/smb1pdu.c +++ b/smb1pdu.c @@ -394,7 +394,7 @@ int smb_session_disconnect(struct ksmbd_work *work) /* setting CifsExiting here may race with start_tcp_sess */ ksmbd_conn_set_need_reconnect(conn); - ksmbd_conn_wait_idle(conn, sess->id); + ksmbd_conn_wait_idle(conn); ksmbd_tree_conn_session_logoff(sess);