Re: [PATCH iproute2 1/1] tc flower: fix parsing vlan_id and vlan_prio

2020-11-24 Thread Roi Dayan
On 2020-11-24 2:26 PM, Roi Dayan wrote: When protocol is vlan then eth_type is set to the vlan eth type. So when parsing vlan_id and vlan_prio need to check tc_proto is vlan and not eth_type. Fixes: 4c551369e083 ("tc flower: use right ethertype in icmp/arp parsing") Signed-off-by: Roi Dayan

[PATCH iproute2 1/1] tc flower: fix parsing vlan_id and vlan_prio

2020-11-24 Thread Roi Dayan
When protocol is vlan then eth_type is set to the vlan eth type. So when parsing vlan_id and vlan_prio need to check tc_proto is vlan and not eth_type. Fixes: 4c551369e083 ("tc flower: use right ethertype in icmp/arp parsing") Signed-off-by: Roi Dayan --- tc/f_flower.c | 4 ++-- 1 file changed,