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.
Reviewed: https:/ /review. opencontrail. org/5680 github. org/Juniper/ contrail- controller/ commit/ ba7cfcb0a0baffa d5e57dd1a6d1416 08f072b001
Committed: http://
Submitter: Zuul
Branch: master
commit ba7cfcb0a0baffa d5e57dd1a6d1416 08f072b001
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
Closes-Bug: #1382385