libnetwork: processEndpointCreate: Fix deadlock between getSvcRecords and processEndpointCreate
libnetwork: processEndpointCreate: Fix deadlock between getSvcRecords and processEndpointCreate

References https://github.com/moby/moby/pull/42545

Signed-off-by: Steffen Butzer <46adcc64d578e77abc0454761760af40d6d6f8c9@outlook.com>

AkihiroSuda/docker,djs55/docker,moby/moby,thaJeztah/docker,moby/moby,moul/docker,Ramzec/docker,docker/docker,jimjag/docker,Ramzec/docker,jimjag/docker,moul/docker,nalind/docker,jthelin/docker,paralin/docker,jameszhan/docker,gnailuy/docker,gnailuy/docker,paralin/docker,gnailuy/docker,vdemeester/docker,vdemeester/docker,bearstech/moby,konstruktoid/docker-upstream,mahak/docker,yosifkit/docker,moby/moby,AkihiroSuda/docker,thaJeztah/docker,AkihiroSuda/docker,trebonian/docker,Mokolea/docker,Mokolea/docker,djs55/docker,thaJeztah/docker,cpuguy83/docker,jameszhan/docker,thaJeztah/docker,konstruktoid/docker-upstream,cpuguy83/docker,bearstech/moby,flavio/docker,Mokolea/docker,Ramzec/docker,moby/moby,mahak/docker,nalind/docker,nalind/docker,AkihiroSuda/docker,gnailuy/docker,cpuguy83/docker,konstruktoid/docker-upstream,nalind/docker,flavio/docker,docker/docker,nawawi/docker,docker/docker,nawawi/docker,jthelin/docker,nawawi/docker,cpuguy83/docker,konstruktoid/docker-upstream,paralin/docker,vdemeester/docker,yosifkit/docker,mahak/docker,moul/docker,nawawi/docker,yosifkit/docker,mahak/docker,flavio/docker,bearstech/moby,trebonian/docker,bearstech/moby,Mokolea/docker,trebonian/docker,djs55/docker,Ramzec/docker,yosifkit/docker,trebonian/docker,jimjag/docker,paralin/docker,moul/docker,flavio/docker,jimjag/docker,jameszhan/docker