projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tunneling: Add support for tunnel ID.
[openvswitch]
/
datapath
/
flow.c
diff --git
a/datapath/flow.c
b/datapath/flow.c
index 9a94d0ba8d28971e5430e9bdc3dbc1c0657a03b9..094a2c8d96c99a24cbf2796f4d8bab40789f523b 100644
(file)
--- 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);
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->in_port = in_port;
+ key->dl_vlan = htons(ODP_VLAN_NONE);
if (skb->len < sizeof *eth)
return 0;
if (skb->len < sizeof *eth)
return 0;