When we are searching for a tunnel port to receive traffic on, everything should be zeroed out by the time that we get to null ports since they are wildcarded. However, if certain other ports also exist (primarily multicast ports with keys) then this might not be the case and the key can be set.
Signed-off-by: Jesse Gross <[email protected]> --- datapath/tunnel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath/tunnel.c b/datapath/tunnel.c index 1db60d2..26d9014 100644 --- a/datapath/tunnel.c +++ b/datapath/tunnel.c @@ -273,6 +273,7 @@ struct vport *ovs_tnl_find_port(struct net *net, __be32 saddr, __be32 daddr, if (null_ports) { lookup.daddr = 0; lookup.saddr = 0; + lookup.in_key = 0; lookup.tunnel_type = tunnel_type; vport = port_table_lookup(&lookup, mutable); if (vport) -- 1.7.9.5 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
