On 2/27/2018 9:38 AM, Ananyev, Konstantin wrote:
> 
> 
>> -----Original Message-----
>> From: Awal, Mohammad Abdul
>> Sent: Tuesday, February 27, 2018 8:58 AM
>> To: [email protected]
>> Cc: [email protected]; [email protected]; Ananyev, Konstantin 
>> <[email protected]>; Awal, Mohammad Abdul
>> <[email protected]>
>> Subject: [PATCH v2] ether: fix invalid string length in ethdev name 
>> comparison
>>
>> The current code compares two strings upto the length of 1st string
>> (searched name). If the 1st string is prefix of 2nd string (existing name),
>> the string comparison returns the port_id of earliest prefix matches.
>> This patch fixes the bug by using strcmp instead of strncmp.
>>
>> Fixes: 9c5b8d8b9fe ("ethdev: clean port id retrieval when attaching")
>>
>> Signed-off-by: Mohammad Abdul Awal <[email protected]>

> Acked-by: Konstantin Ananyev <[email protected]>

Applied to dpdk-next-net/master, thanks.

Reply via email to