]> git.proxmox.com Git - mirror_iproute2.git/commit
tc flower: use right ethertype in icmp/arp parsing
authorZahari Doychev <zahari.doychev@linux.com>
Tue, 10 Nov 2020 07:53:55 +0000 (08:53 +0100)
committerDavid Ahern <dsahern@gmail.com>
Sat, 14 Nov 2020 03:07:38 +0000 (20:07 -0700)
commit4c551369e083a3d90f6f09957c455b3071446ec2
treedaea5f858677bab1df11afc254b4ac9e724105f6
parent1ed00380b0854a61d0c40856720fb3065eb117d4
tc flower: use right ethertype in icmp/arp parsing

Currently the icmp and arp parsing functions are called with incorrect
ethtype in case of vlan or cvlan filter options. In this case either
cvlan_ethtype or vlan_ethtype has to be used. The ethtype is now updated
each time a vlan ethtype is matched during parsing.

Signed-off-by: Zahari Doychev <zahari.doychev@linux.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tc/f_flower.c