Stephen Hemminger <[email protected]> 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: [email protected]
> Signed-off-by: Stephen Hemminger <[email protected]>

Reviewed-by: Petr Machata <[email protected]>

Reply via email to