On Fri, Jul 29, 2022 at 04:53:15PM +0200, Ilya Maximets wrote:
> @@ -606,8 +606,9 @@ flower_tun_opt_to_match(struct match *match, struct
> tc_flower *flower)
> len -= sizeof(struct geneve_opt) + opt->length * 4;
> }
>
> -match->wc.masks.tunnel.metadata.present.len =
> -
On 2022-07-29 5:53 PM, Ilya Maximets wrote:
'wc.masks.tunnel.metadata.present.len' must be a mask for the same
field in the flow key, but in the tc_flower structure it's the real
length of metadata masks.
That is correctly handled for the individual opt->length, setting all
the masks to 0x1f
'wc.masks.tunnel.metadata.present.len' must be a mask for the same
field in the flow key, but in the tc_flower structure it's the real
length of metadata masks.
That is correctly handled for the individual opt->length, setting all
the masks to 0x1f like it's done in the tun_metadata_to_geneve_mask