]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto-dpif: Emit set_tunnel when required to.
authorEthan Jackson <ethan@nicira.com>
Mon, 12 Sep 2011 23:56:21 +0000 (16:56 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 13 Sep 2011 03:28:39 +0000 (20:28 -0700)
commitbf1e03710e905cd33765bf72b734020bf98d46ac
tree7314ef3003fb6aefac42ab6bed07095f8835a8a4
parent9b02078077b62e4277e84c7f39382ce09986cf6b
ofproto-dpif: Emit set_tunnel when required to.

ofproto-dpif assumed that the datapath initialized the tun_id of a
flow on egress, to its tun_id on ingress.  For this reason, if
OpenFlow actions set the tun_id to a flow's ingress tun_id,
ofproto-dpif would fail to emit a set_tunnel action.

Reported-by: Igor Ganichev <iganichev@nicira.com>
Reported-by: Pankaj Thakkar <thakkar@nicira.com>
ofproto/ofproto-dpif.c