revalidator: Re-fix a flow duplication bug.
authorJoe Stringer <joestringer@nicira.com>
Wed, 21 May 2014 02:49:04 +0000 (14:49 +1200)
committerJoe Stringer <joestringer@nicira.com>
Wed, 21 May 2014 21:16:44 +0000 (09:16 +1200)
commitbce634855419fd6e9462500f786ed9aa100bdc2d
tree653a9508b287dde5c0c004c99df3769a327dbf95
parent0ada3a84d59cfccc923f931b54153701687d310a
revalidator: Re-fix a flow duplication bug.

Commit 73a3c4757e59 (revalidator: Prevent handling the same flow twice.)
fixed a bug where duplicated flows could be deleted twice. Commit
7d1700980b5d (ofproto-dpif-upcall: Remove the flow_dumper thread.)
partially re-introduced this bug.

The bug would cause the logs to show messages such as
"failed to flow_get (No such file or directory) skb_priority(0),..."
"failed to flow_del (No such file or directory) skb_priority(0),..."

This patch fixes the issue again.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
ofproto/ofproto-dpif-upcall.c