X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Factions.c;fp=datapath%2Factions.c;h=faa6a0023df87d67adab6e09afff9eae7ed54d60;hb=72e8bf28bb38e8816435c64859fb350215b6a9e6;hp=76c9823a5259268e8e5a62aa0748ef3f279bfc8d;hpb=24f974c481bc5230552b23d96312f645f7533cd3;p=openvswitch diff --git a/datapath/actions.c b/datapath/actions.c index 76c9823a..faa6a002 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -435,6 +435,10 @@ static int execute_set_action(struct sk_buff *skb, skb->priority = nla_get_u32(nested_attr); break; + case OVS_KEY_ATTR_SKB_MARK: + skb_set_mark(skb, nla_get_u32(nested_attr)); + break; + case OVS_KEY_ATTR_TUN_ID: /* If we're only using the TUN_ID action, store the value in a * temporary instance of struct ovs_key_ipv4_tunnel on the stack.