Return correct type from dbe_alloc in error(EEXISTS) case
In timing situations where a port-create is in-flight and
another for same name is received, when check for dup is
false in http_post_common but caught in dbe_alloc, the return
type in dbe_alloc was incorrect causing incorrect further
processing.
Change-Id: I34edf4d61c1edc9071da154747ff7066aeefef92
Closes-Bug: #1382385
(cherry picked from commit ba7cfcb0a0baffad5e57dd1a6d141608f072b001)
Reviewed: https:/ /review. opencontrail. org/5681 github. org/Juniper/ contrail- controller/ commit/ 0b86de3c7f7cf91 6ead823474c9695 69757b4617
Committed: http://
Submitter: Zuul
Branch: R2.0
commit 0b86de3c7f7cf91 6ead823474c9695 69757b4617
Author: Hampapur Ajay <email address hidden>
Date: Mon Dec 15 23:03:46 2014 -0800
Return correct type from dbe_alloc in error(EEXISTS) case
In timing situations where a port-create is in-flight and
another for same name is received, when check for dup is
false in http_post_common but caught in dbe_alloc, the return
type in dbe_alloc was incorrect causing incorrect further
processing.
Change-Id: I34edf4d61c1edc 9071da154747ff7 066aeefef92 d5e57dd1a6d1416 08f072b001)
Closes-Bug: #1382385
(cherry picked from commit ba7cfcb0a0baffa