[dpdk-dev] [PATCH v2] net: be more restrictive in accepted ether string formats
Ferruh Yigit
ferruh.yigit at intel.com
Fri Jul 19 19:46:43 CEST 2019
On 7/19/2019 2:42 PM, Olivier Matz wrote:
> On Thu, Jul 18, 2019 at 11:35:44AM -0700, Stephen Hemminger wrote:
>> The current ether_unformat_addr code was based off of
>> BSD ether_aton. That version changed what was allowed
>> by the cmdline ether address parser.
>> For example, it allows dropping leading zeros.
>>
>> Change the code to be more restrictive and only allow the fully
>> expanded standard formats.
>>
>> Bugzilla ID: 324
>> Fixes: 596d31092d32 ("net: add function to convert string to ethernet address")
>> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
>
> Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>
>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list