projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc4015d
)
datapath: Fix tunnel lookup
author
Pravin Shelar
<pshelar@nicira.com>
Thu, 15 Sep 2011 00:39:43 +0000
(17:39 -0700)
committer
Pravin Shelar
<pshelar@nicira.com>
Thu, 15 Sep 2011 00:39:43 +0000
(17:39 -0700)
Attached patch fixes tunnel lookup to do correct port comparison.
This bug is introduced by commit
3544358aa5960b148bc31435a0062e9392530ec2
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/tunnel.c
patch
|
blob
|
history
diff --git
a/datapath/tunnel.c
b/datapath/tunnel.c
index 25aea24676ea8b1186c8a58ddaf50598c02e940a..67fbd2ba3fe821cc2b9bbdedf12edefee868bb60 100644
(file)
--- a/
datapath/tunnel.c
+++ b/
datapath/tunnel.c
@@
-272,7
+272,7
@@
static struct tnl_vport *port_table_lookup(struct port_lookup_key *lookup)
bucket = find_bucket(hash);
hlist_for_each_entry_rcu(tnl_vport, n, bucket, hash_node) {
- if (
!
port_cmp(tnl_vport, lookup))
+ if (port_cmp(tnl_vport, lookup))
return tnl_vport;
}