]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev-offload-tc.c
lib/tc: Fix flow dump for tunnel id equal zero
authorDmytro Linkin <dmitrolin@mellanox.com>
Wed, 30 Oct 2019 12:40:35 +0000 (14:40 +0200)
committerSimon Horman <simon.horman@netronome.com>
Sat, 2 Nov 2019 06:41:49 +0000 (07:41 +0100)
commit36e50679a6517ee1ec6ed9e4cc83293279a5fffc
treedb045131adf97f64621abb2e4d079d8ced065f40
parentac4b6e83deb138df4054dca016cd2419caa351db
lib/tc: Fix flow dump for tunnel id equal zero

Tunnel id 0 is not printed unless tunnel flag FLOW_TNL_F_KEY is set.
Fix that by always setting FLOW_TNL_F_KEY when tunnel id is valid.

Fixes: 0227bf092ee6 ("lib/tc: Support optional tunnel id")
Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
lib/netdev-offload-tc.c