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: tho...@monjalon.net
>> Cc: rke...@gmail.com; dev@dpdk.org; Ananyev, Konstantin 
>> <konstantin.anan...@intel.com>; Awal, Mohammad Abdul
>> <mohammad.abdul.a...@intel.com>
>> 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 <mohammad.abdul.a...@intel.com>

> Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>

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

Reply via email to