net/sched: act_vlan: No dump for unset priority
authorBoris Sukholitko <boris.sukholitko@broadcom.com>
Tue, 1 Jun 2021 12:30:51 +0000 (15:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2021 23:54:42 +0000 (16:54 -0700)
commit8323b20f1d76b10fb413daae6abf76b7b903c8de
treedf9c34453403a36d99fe428b72bf98f73dda72f3
parent9c5eee0afca09cbde6bd00f77876754aaa552970
net/sched: act_vlan: No dump for unset priority

Dump vlan priority only if it has been previously set.

Fix the tests accordingly.

Signed-off-by: Boris Sukholitko <boris.sukholitko@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_vlan.c
tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json