ofproto-dpif-xlate: Unmask mark when used for tunnels.
[cascardo/ovs.git] / ofproto / ofproto-dpif-xlate.c
index 6f54b76..01ce3c6 100644 (file)
@@ -2301,6 +2301,9 @@ xlate_actions(struct xlate_in *xin, struct xlate_out *xout)
 
     if (tnl_port_should_receive(&ctx.xin->flow)) {
         memset(&wc->masks.tunnel, 0xff, sizeof wc->masks.tunnel);
+        /* skb_mark is currently used only by tunnels but that will likely
+         * change in the future. */
+        memset(&wc->masks.skb_mark, 0xff, sizeof wc->masks.skb_mark);
     }
     if (ctx.xbridge->has_netflow) {
         netflow_mask_wc(flow, wc);