[PATCH v2] net/tap: resolve stringop-overflow with gcc 12 on ppc64le

Stephen Hemminger stephen at networkplumber.org
Tue May 16 03:28:38 CEST 2023


On Tue, 16 May 2023 00:35:56 +0100
Ferruh Yigit <ferruh.yigit at amd.com> wrote:

> Yes only some scripts and possible applications that hotplug tap
> interface with hardcoded parameters may impacted, don't know how big is
> this amount but this ends up breaking something that was working before
> upgrading DPDK for them.
> 
> And I believe the motivation is weak to break the behavior.
> 
> Won't it be better to update 'rte_ether_unformat_addr()' to accept more
> flexible syntax, and use it? Is there any disadvantage of this approach?

It is already more flexible than the standard ether_aton().


More information about the stable mailing list