[ovs-dev] [PATCH] revalidator: Fix a build issue.

Joe Stringer joestringer at nicira.com
Tue Jun 3 00:23:59 UTC 2014


Commit acaa8dac490cc6c36026d45f3010ec75f38ee142 (revalidator: Eliminate
duplicate flow handling.) introduced a build error. This fixes the bug.

Reported-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Joe Stringer <joestringer at nicira.com>
---
 ofproto/ofproto-dpif-upcall.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 828665e..9d48e98 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -1368,7 +1368,7 @@ revalidate(struct revalidator *revalidator)
             bool already_dumped, mark;
 
             if (!ukey) {
-                ukey = ukey_create(key, key_len, used);
+                ukey = ukey_create(f->key, f->key_len, used);
                 if (!udpif_insert_ukey(udpif, ukey, hash)) {
                     /* The same ukey has already been created. This means that
                      * another revalidator is processing this flow
-- 
1.7.10.4




More information about the dev mailing list