]> git.proxmox.com Git - mirror_ovs.git/commit - lib/tc.c
netdev-tc-offloads: Do not set 0 port attribute to TC tunnel
authorEli Britstein <elibr@mellanox.com>
Wed, 26 Dec 2018 07:34:35 +0000 (09:34 +0200)
committerSimon Horman <simon.horman@netronome.com>
Sat, 29 Dec 2018 00:14:50 +0000 (09:14 +0900)
commite48f49e03e000997ed60104917d34095136a9e3f
treeca94b2129a863bb9071b29205ef2fb4d48536e81
parente46b70205e25412d31edec28742210d77a8543a8
netdev-tc-offloads: Do not set 0 port attribute to TC tunnel

For non UDP tunnels as GRE there is no UDP port, i.e initialized to 0.

Do not set the port attribute in such case.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
lib/netdev-tc-offloads.c
lib/tc.c