Stephen Hemminger <step...@networkplumber.org> writes:
> Gcc-10 complains about referencing a zero size array. > This occurs because the array of keys is actually in the following > structure which is part of the overall selector. > > The original code was safe, but better to just use the key > array directly. > > Fixes: 2d9a8dc439ee ("tc: p_ip6: Support pedit of IPv6 dsfield") > Cc: pe...@mellanox.com > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> Reviewed-by: Petr Machata <pe...@nvidia.com>