]> git.ipfire.org Git - thirdparty/iproute2.git/commit
f_flower: Check args with num_of_vlans
authorBoris Sukholitko <boris.sukholitko@broadcom.com>
Tue, 26 Apr 2022 09:14:17 +0000 (12:14 +0300)
committerDavid Ahern <dsahern@kernel.org>
Thu, 28 Apr 2022 02:18:12 +0000 (20:18 -0600)
commit5788732e380caede5381af0bc0e0a3cd94c7b92a
tree1d776fb06cb84b6f1ef4d452a6cd0f92e51ef2c0
parent5ba31bcf4463e8037dde1c5e1a13ebba1eb9dd26
f_flower: Check args with num_of_vlans

Having more than one vlan allows matching on the vlan tag parameters.
This patch changes vlan key validation to take number of vlan tags into
account.

Signed-off-by: Boris Sukholitko <boris.sukholitko@broadcom.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
tc/f_flower.c