revalidator: Fix access of uninitialized memory.
authorJoe Stringer <joestringer@nicira.com>
Tue, 9 Dec 2014 01:14:39 +0000 (17:14 -0800)
committerJoe Stringer <joestringer@nicira.com>
Tue, 9 Dec 2014 01:35:14 +0000 (17:35 -0800)
commit4c438b67ee1b62afe5492c469769eb00f5b958e8
treeedc0cf12d8c0390e5b9eb7ea59dc5aabb5c9e51e
parent66e1d95523a98789a5bd9ce40cd1f7b7625f6de6
revalidator: Fix access of uninitialized memory.

Commit 64bb477 "dpif: Minimize memory copy for revalidation." introduced
a bug where the corner case of ukey creation (in revalidator threads)
could result in access to uninitialized memory when deleting flows from
the datapath. This could result in OVS aborting or deadlock. Fix it.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-upcall.c