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>
bucket = find_bucket(hash);
hlist_for_each_entry_rcu(tnl_vport, n, bucket, hash_node) {
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))