On 21/01/2015 12:32, Yann Droneaud wrote:
> Hi,
> 
> Le mardi 16 décembre 2014 à 21:14 +0100, Yann Droneaud a écrit :
>> Le mardi 16 décembre 2014 à 22:07 +0200, Or Gerlitz a écrit :
>>> On Tue, Dec 16, 2014 at 7:41 PM, Roland Dreier <[email protected]> wrote:
>>>> On Tue, Dec 16, 2014 at 4:33 AM, Yann Droneaud <[email protected]> 
>>>> wrote:
>>>>>
>>>>> With the suggested change here, buffer overflow won't happen,
>>>>> but the error is silently ignored, allowing uverb to return a
>>>>> partial result, which is likely not expected by userspace as
>>>>> it's a bit difficult to handle it gracefully.
>>>>>
>>>>> So this has to be removed, and a check on userspace response
>>>>> buffer must be added to ib_uverbs_ex_query_device() instead.
>>>>
>>>> I'm not sure of the specifics of the change you're suggesting here.
>>>> Would it be OK to go forward with the patch set we have, and then fix
>>>> this issue before 3.19-rc2?
>>>
>>> Roland,
>>>
>>> Haggai will address the change in an incremental patch against your
>>> for-next (3.19-rc1) so the fix will be ready on time for 3.19-rc2
>>>
> 
> AFAICT, no fix has been posted on the list so far.
> Do you have a patch to address the issue ready ?

As I wrote before [1], I respectfully disagree with the change you
proposed, and I think it would make the code less maintainable and most
likely hurt backward compatibility in the future.

[1] http://www.spinics.net/lists/linux-rdma/msg22403.html

Regards,
Haggai

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to