revalidator: Replace ukey->mark with dump_seq.
authorJoe Stringer <joestringer@nicira.com>
Wed, 14 May 2014 04:17:25 +0000 (16:17 +1200)
committerJoe Stringer <joestringer@nicira.com>
Fri, 6 Jun 2014 02:21:42 +0000 (14:21 +1200)
commitefa085312b6d5b81718ac5cfe467f3aa36de8f25
tree30e307c4dda2a971029c5ea250be16d05e0b5849
parentee088a75c65c5bc2a32887cde1c1ebc1c7fac232
revalidator: Replace ukey->mark with dump_seq.

Rather than setting and resetting the 'mark' field in the ukey, this
patch introduces a seq to track whether a flow has been seen during the
most recent dump. This tidies the code and simplifies the logic for
detecting when flows are duplicated from the datapath.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif-upcall.c