]> git.proxmox.com Git - mirror_ovs.git/commit - ofproto/ofproto-dpif-upcall.c
revalidator: Don't delete non-existent flow.
authorJoe Stringer <joestringer@nicira.com>
Wed, 10 Dec 2014 19:20:10 +0000 (11:20 -0800)
committerJoe Stringer <joestringer@nicira.com>
Wed, 17 Dec 2014 18:24:47 +0000 (10:24 -0800)
commitc744eb045a6bc5e73376e5a6e2e86c17852f43a8
tree24dcd0f3259a6733bf27924301e322e5b2ca4d83
parent94a72fd6f09cd07b3a67f4cc390436550fad00e7
revalidator: Don't delete non-existent flow.

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>
ofproto/ofproto-dpif-upcall.c