If ukey_acquire() returns ENOENT, then it is unable to locate the ukey
corresponding to the flow and the flow has disappeared since it was
dumped. Don't bother deleting the flow in this case, as it will fail.
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
COVERAGE_INC(upcall_ukey_contention);
} else {
log_unexpected_flow(f, error);
- delete_op_init__(&ops[n_ops++], f);
+ if (error != ENOENT) {
+ delete_op_init__(&ops[n_ops++], f);
+ }
}
continue;
}