erts: Fix bug causing mbc to be deleted from cpool before it was inserted
erts: Fix bug causing mbc to be deleted from cpool before it was inserted

Set IN_POOL flag _after_ mbc has been actually inserted.

Earlier it did not matter if IN_POOL was set early as it was not possible
to find a carrier before is was fully inserted. Now when searching
pooled_list and traitor_list we must make sure a found carrier has been
fully inserted into cpool before removing it.

mikpe/otp,lianghaivv/otp,marquisthunder/otp,lhslll/otp,getong/otp,bsmr-erlang/otp,c-rack/otp,bsmr-erlang/otp,NOMORECOFFEE/otp,derek121/otp,vic/otp,psyeugenic/otp,lhslll/otp,palas/otp,jinshana/otp,legoscia/otp,VincentHHL/otp,palas/otp,Teino1978-Corp/otp,vic/otp,derek121/otp,bernardd/otp,sdebnath/otp,mujiatong/otp,potatosalad/otp,johanclaesson/otp,potatosalad/otp,jemsbhai/otp,matwey/otp,electricimp/otp,lemenkov/otp,bernardd/otp,ahmedshafeeq/otp,aboroska/otp,basho/otp,emile/otp,gjaldon/otp,basho/otp,fenollp/otp,bjorng/otp,emile/otp,release-project/otp,krishnakumar4a4/otp,kvakvs/otp,bugs-erlang-org/otp,basho/otp,haguenau/otp,paulcager/otp,haguenau/otp,jamesruan/otp,palas/otp,lianghaivv/otp,entropiae/otp,dumbbell/otp,schlagert/otp,beni55/otp,rlipscombe/otp,legoscia/otp,RJ/otp,haguenau/otp,basho/otp,kvakvs/otp,lantti/otp,RoadRunnr/otp,bjorng/otp,cobusc/otp,msantos/otp,VincentHHL/otp,paulcager/otp,lhslll/otp,schlagert/otp,ahmedshafeeq/otp,lucafavatella/otp,lhslll/otp,weisslj/otp,tuncer/otp,palas/otp,electricimp/otp,krishnakumar4a4/otp,tuncer/otp,VincentHHL/otp,massemanet/otp,stolen/otp,RoadRunnr/otp,jinshana/otp,lianghaivv/otp,paladim/otp,RoadRunnr/otp,jamesruan/otp,mikpe/otp,jinshana/otp,schlagert/otp,basho/otp,platinumthinker/otp,isvilen/otp,neeraj9/otp,emacsmirror/erlang,release-project/otp,c-rack/otp,matwey/otp,RaimoNiskanen/otp,sdebnath/otp,matwey/otp,bjorng/otp,aboroska/otp,getong/otp,RichMorin/otp,enikki/otp,lantti/otp,vladdu/otp,release-project/otp,yangchengjian/otp,jj1bdx/otp,aboroska/otp,falkevik/otp,VincentHHL/otp,vic/otp,hairyhum/otp,schlagert/otp,fenollp/otp,isvilen/otp,uabboli/otp,kvakvs/otp,derek121/otp,emacsmirror/erlang,ader1990/otp,emile/otp,ader1990/otp,vladdu/otp,cnbin/otp,jamesruan/otp,mikpe/otp,sdebnath/otp,potatosalad/otp,emile/otp,sdebnath/otp,jinshana/otp,isvilen/otp,RJ/otp,erlang/otp,emacsmirror/erlang,erlang/otp,release-project/otp,hairyhum/otp,vinoski/otp,emile/otp,massemanet/otp,massemanet/otp,uabboli/otp,ahmedshafeeq/otp,getong/otp,mikpe/otp,Teino1978-Corp/otp,awetzel/otp,vinoski/otp,palas/otp,jemsbhai/otp,palas/otp,c-rack/otp,jemsbhai/otp,bjorng/otp,g-andrade/otp,dgud/otp,rlipscombe/otp,basho/otp,getong/otp,dumbbell/otp,tuncer/otp,dgud/otp,Teino1978-Corp/otp,potatosalad/otp,saleyn/otp,yangchengjian/otp,jemsbhai/otp,isvilen/otp,c-rack/otp,isvilen/otp,aboroska/otp,enikki/otp,paladim/otp,dumbbell/otp,johanclaesson/otp,tuncer/otp,kvakvs/otp,basho/otp,aboroska/otp,beni55/otp,goertzenator/otp,lhslll/otp,cnbin/otp,neeraj9/otp,krishnakumar4a4/otp,riverrun/otp,vic/otp,g-andrade/otp,RGafiyatullin/otp,jamesruan/otp,cobusc/otp,awetzel/otp,VincentHHL/otp,goertzenator/otp,palas/otp,jinshana/otp,schlagert/otp,lantti/otp,mikpe/otp,sammoth-wazoku/otp,sdebnath/otp,kvakvs/otp,lrascao/otp,lantti/otp,falkevik/otp,bjorng/otp,marquisthunder/otp,dumbbell/otp,fenollp/otp,msantos/otp,johanclaesson/otp,hairyhum/otp,erlang/otp,ader1990/otp,NOMORECOFFEE/otp,tuncer/otp,platinumthinker/otp,RGafiyatullin/otp,getong/otp,sitexa/otp,mujiatong/otp,entropiae/otp,lhslll/otp,msantos/otp,fenollp/otp,ahmedshafeeq/otp,msantos/otp,RoadRunnr/otp,sitexa/otp,weisslj/otp,lightcyphers/otp,psyeugenic/otp,lucafavatella/otp,potatosalad/otp,RJ/otp,emile/otp,g-andrade/otp,RJ/otp,paladim/otp,electricimp/otp,weisslj/otp,psyeugenic/otp,krishnakumar4a4/otp,entropiae/otp,platinumthinker/otp,jamesruan/otp,marquisthunder/otp,ahmedshafeeq/otp,falkevik/otp,dgud/otp,sammoth-wazoku/otp,g-andrade/otp,hairyhum/otp,jemsbhai/otp,g-andrade/otp,theom/otp,weisslj/otp,emacsmirror/erlang,awetzel/otp,lucafavatella/otp,potatosalad/otp,neeraj9/otp,Teino1978-Corp/erlang-otp,mujiatong/otp,vic/otp,krishnakumar4a4/otp,krishnakumar4a4/otp,jj1bdx/otp,legoscia/otp,potatosalad/otp,riverrun/otp,ahmedshafeeq/otp,jj1bdx/otp,gjaldon/otp,potatosalad/otp,tuncer/otp,RoadRunnr/otp,bugs-erlang-org/otp,electricimp/otp,lemenkov/otp,RoadRunnr/otp,lightcyphers/otp,jamesruan/otp,riverrun/otp,paulcager/otp,ferd/otp,theom/otp,uabboli/otp,johanclaesson/otp,weisslj/otp,mujiatong/otp,GinjaNinja32/otp,RGafiyatullin/otp,schlagert/otp,entropiae/otp,ferd/otp,isvilen/otp,matwey/otp,paulcager/otp,msantos/otp,saleyn/otp,vinoski/otp,mujiatong/otp,goertzenator/otp,yangchengjian/otp,hairyhum/otp,neeraj9/otp,vladdu/otp,riverrun/otp,goertzenator/otp,dumbbell/otp,RJ/otp,erlang/otp,GinjaNinja32/otp,lemenkov/otp,krishnakumar4a4/otp,rlipscombe/otp,getong/otp,falkevik/otp,RichMorin/otp,paulcager/otp,Teino1978-Corp/otp,lemenkov/otp,getong/otp,kvakvs/otp,neeraj9/otp,GinjaNinja32/otp,falkevik/otp,enikki/otp,uabboli/otp,fenollp/otp,cobusc/otp,lucafavatella/otp,hairyhum/otp,cnbin/otp,vic/otp,sammoth-wazoku/otp,vinoski/otp,klarna/otp,Teino1978-Corp/erlang-otp,johanclaesson/otp,bugs-erlang-org/otp,lrascao/otp,klarna/otp,stolen/otp,vinoski/otp,platinumthinker/otp,saleyn/otp,paladim/otp,VincentHHL/otp,mujiatong/otp,fenollp/otp,dgud/otp,c-rack/otp,sammoth-wazoku/otp,derek121/otp,erlang/otp,falkevik/otp,psyeugenic/otp,fenollp/otp,benoitc/otp-1,krishnakumar4a4/otp,vladdu/otp,riverrun/otp,cnbin/otp,ader1990/otp,platinumthinker/otp,vinoski/otp,lrascao/otp,theom/otp,saleyn/otp,vinoski/otp,legoscia/otp,bjorng/otp,getong/otp,entropiae/otp,RJ/otp,VincentHHL/otp,beni55/otp,isvilen/otp,cnbin/otp,sdebnath/otp,RichMorin/otp,lemenkov/otp,lrascao/otp,lemenkov/otp,lianghaivv/otp,aboroska/otp,g-andrade/otp,cnbin/otp,theom/otp,erlang/otp,awetzel/otp,yangchengjian/otp,jemsbhai/otp,jinshana/otp,aboroska/otp,ahmedshafeeq/otp,bsmr-erlang/otp,lianghaivv/otp,sitexa/otp,saleyn/otp,massemanet/otp,RJ/otp,g-andrade/otp,bugs-erlang-org/otp,VincentHHL/otp,dumbbell/otp,lucafavatella/otp,jemsbhai/otp,gjaldon/otp,neeraj9/otp,marquisthunder/otp,RaimoNiskanen/otp,basho/otp,vinoski/otp,jj1bdx/otp,msantos/otp,jamesruan/otp,bugs-erlang-org/otp,matwey/otp,riverrun/otp,vladdu/otp,lightcyphers/otp,lucafavatella/otp,RaimoNiskanen/otp,beni55/otp,erlang/otp,neeraj9/otp,jinshana/otp,lhslll/otp,derek121/otp,vic/otp,NOMORECOFFEE/otp,bjorng/otp,beni55/otp,johanclaesson/otp,Teino1978-Corp/erlang-otp,dumbbell/otp,fenollp/otp,platinumthinker/otp,stolen/otp,jj1bdx/otp,RichMorin/otp,enikki/otp,paladim/otp,RoadRunnr/otp,bernardd/otp,RichMorin/otp,c-rack/otp,klarna/otp,NOMORECOFFEE/otp,uabboli/otp,isvilen/otp,benoitc/otp-1,sitexa/otp,mikpe/otp,bsmr-erlang/otp,ferd/otp,psyeugenic/otp,matwey/otp,Teino1978-Corp/erlang-otp,aboroska/otp,benoitc/otp-1,emacsmirror/erlang,legoscia/otp,dgud/otp,sammoth-wazoku/otp,weisslj/otp,lightcyphers/otp,RGafiyatullin/otp,jj1bdx/otp,enikki/otp,dumbbell/otp,weisslj/otp,neeraj9/otp,derek121/otp,marquisthunder/otp,goertzenator/otp,erlang/otp,jj1bdx/otp,mikpe/otp,Teino1978-Corp/erlang-otp,theom/otp,cobusc/otp,mikpe/otp,derek121/otp,erlang/otp,johanclaesson/otp,benoitc/otp-1,awetzel/otp,bernardd/otp,bsmr-erlang/otp,release-project/otp,beni55/otp,NOMORECOFFEE/otp,lianghaivv/otp,vinoski/otp,matwey/otp,lrascao/otp,release-project/otp,paladim/otp,haguenau/otp,benoitc/otp-1,dgud/otp,ader1990/otp,gjaldon/otp,NOMORECOFFEE/otp,marquisthunder/otp,paulcager/otp,RichMorin/otp,bsmr-erlang/otp,Teino1978-Corp/otp,rlipscombe/otp,haguenau/otp,sammoth-wazoku/otp,klarna/otp,platinumthinker/otp,stolen/otp,klarna/otp,lucafavatella/otp,klarna/otp,theom/otp,mikpe/otp,Teino1978-Corp/otp,RoadRunnr/otp,RoadRunnr/otp,bugs-erlang-org/otp,g-andrade/otp,uabboli/otp,lightcyphers/otp,lrascao/otp,sdebnath/otp,bernardd/otp,g-andrade/otp,goertzenator/otp,RGafiyatullin/otp,rlipscombe/otp,isvilen/otp,entropiae/otp,lantti/otp,vladdu/otp,g-andrade/otp,massemanet/otp,lrascao/otp,jamesruan/otp,RichMorin/otp,falkevik/otp,dgud/otp,hairyhum/otp,emacsmirror/erlang,rlipscombe/otp,electricimp/otp,goertzenator/otp,ferd/otp,GinjaNinja32/otp,marquisthunder/otp,goertzenator/otp,ferd/otp,legoscia/otp,electricimp/otp,mikpe/otp,RGafiyatullin/otp,tuncer/otp,jemsbhai/otp,release-project/otp,gjaldon/otp,lemenkov/otp,saleyn/otp,klarna/otp,legoscia/otp,derek121/otp,stolen/otp,bsmr-erlang/otp,uabboli/otp,aboroska/otp,RaimoNiskanen/otp,fenollp/otp,GinjaNinja32/otp,tuncer/otp,bjorng/otp,msantos/otp,awetzel/otp,vladdu/otp,vic/otp,potatosalad/otp,riverrun/otp,awetzel/otp,jj1bdx/otp,bernardd/otp,marquisthunder/otp,RaimoNiskanen/otp,schlagert/otp,GinjaNinja32/otp,theom/otp,entropiae/otp,cobusc/otp,kvakvs/otp,rlipscombe/otp,dgud/otp,RichMorin/otp,potatosalad/otp,release-project/otp,paulcager/otp,emacsmirror/erlang,beni55/otp,erlang/otp,uabboli/otp,lucafavatella/otp,ader1990/otp,release-project/otp,saleyn/otp,GinjaNinja32/otp,NOMORECOFFEE/otp,haguenau/otp,lrascao/otp,lightcyphers/otp,kvakvs/otp,bjorng/otp,sitexa/otp,bugs-erlang-org/otp,matwey/otp,RaimoNiskanen/otp,massemanet/otp,dgud/otp,lemenkov/otp,c-rack/otp,kvakvs/otp,enikki/otp,benoitc/otp-1,emacsmirror/erlang,falkevik/otp,lhslll/otp,vladdu/otp,mujiatong/otp,emile/otp,massemanet/otp,RGafiyatullin/otp,awetzel/otp,isvilen/otp,theom/otp,ferd/otp,sammoth-wazoku/otp,getong/otp,lightcyphers/otp,vladdu/otp,mujiatong/otp,RJ/otp,emacsmirror/erlang,ahmedshafeeq/otp,benoitc/otp-1,dgud/otp,sammoth-wazoku/otp,enikki/otp,weisslj/otp,stolen/otp,jj1bdx/otp,saleyn/otp,haguenau/otp,ferd/otp,beni55/otp,yangchengjian/otp,Teino1978-Corp/erlang-otp,benoitc/otp-1,tuncer/otp,falkevik/otp,sdebnath/otp,paladim/otp,stolen/otp,Teino1978-Corp/otp,bugs-erlang-org/otp,bernardd/otp,stolen/otp,jinshana/otp,cnbin/otp,basho/otp,legoscia/otp,weisslj/otp,rlipscombe/otp,bsmr-erlang/otp,bernardd/otp,enikki/otp,psyeugenic/otp,dumbbell/otp,legoscia/otp,paulcager/otp,NOMORECOFFEE/otp,RGafiyatullin/otp,palas/otp,bsmr-erlang/otp,lrascao/otp,ader1990/otp,emile/otp,msantos/otp,Teino1978-Corp/otp,emile/otp,RaimoNiskanen/otp,lantti/otp,hairyhum/otp,sitexa/otp,lianghaivv/otp,uabboli/otp,cnbin/otp,rlipscombe/otp,cobusc/otp,RaimoNiskanen/otp,johanclaesson/otp,goertzenator/otp,yangchengjian/otp,electricimp/otp,ferd/otp,entropiae/otp,Teino1978-Corp/erlang-otp,dumbbell/otp,haguenau/otp,yangchengjian/otp,platinumthinker/otp,riverrun/otp,psyeugenic/otp,lantti/otp,gjaldon/otp,lightcyphers/otp,bernardd/otp,jj1bdx/otp,schlagert/otp,paladim/otp,matwey/otp,lantti/otp,klarna/otp,rlipscombe/otp,sitexa/otp,massemanet/otp,RaimoNiskanen/otp,ferd/otp,lianghaivv/otp,Teino1978-Corp/erlang-otp,electricimp/otp,gjaldon/otp,c-rack/otp,cobusc/otp,vinoski/otp,ahmedshafeeq/otp,electricimp/otp,emacsmirror/erlang,getong/otp,ader1990/otp,saleyn/otp,GinjaNinja32/otp,bjorng/otp,cobusc/otp,psyeugenic/otp,sitexa/otp,gjaldon/otp,massemanet/otp,yangchengjian/otp