No problem, just tell me how to access proper page in jira.

07.03.2018 19:17, Gordon Sim пишет:
> On 07/03/18 14:35, Michael Ivanov wrote:
>> Greetings,
>>
>> qpidd 1.37 seems to have a bug in rdma_wrap.cpp, function deviceCount().
>> Originally it looked like follows:
>>
>>     ::ibv_free_device_list(::ibv_get_device_list(&count));
>>
>> And qpidd crashed with segv on my system (debian sid).
>>
>> I changed it as follows:
>>
>>      int deviceCount() {
>>          struct ibv_device **list;
>>          int count;
>>
>>          if ((list = ::ibv_get_device_list(&count)))
>>             ::ibv_free_device_list(list);
>>          return count;
>>      }
>>
>> and it runs now.
> 
> Thanks! Would you mind attaching that as a patch to a JIRA (or submitting a 
> PR if thats easier). I can then get it committed.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to