X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fflow.c;h=094a2c8d96c99a24cbf2796f4d8bab40789f523b;hb=659586efcf6f9539282da9447007897907c41112;hp=9a94d0ba8d28971e5430e9bdc3dbc1c0657a03b9;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=openvswitch diff --git a/datapath/flow.c b/datapath/flow.c index 9a94d0ba..094a2c8d 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -202,8 +202,9 @@ int flow_extract(struct sk_buff *skb, u16 in_port, struct odp_flow_key *key) int nh_ofs; memset(key, 0, sizeof *key); - key->dl_vlan = htons(ODP_VLAN_NONE); + key->tun_id = OVS_CB(skb)->tun_id; key->in_port = in_port; + key->dl_vlan = htons(ODP_VLAN_NONE); if (skb->len < sizeof *eth) return 0;