[socket-nif] Badly handled socket close for recvfrom and recvmsg
[socket-nif] Badly handled socket close for recvfrom and recvmsg

When type = dgram, the functions recvfrom and recvmsg did not
properly handle socket close, cuaing the caller to hang
indefinitely.

OTP-14831

legoscia/otp,electricimp/otp,bsmr-erlang/otp,rlipscombe/otp,erlang/otp,kvakvs/otp,lrascao/otp,vladdu/otp,aboroska/otp,mikpe/otp,jj1bdx/otp,vinoski/otp,emacsmirror/erlang,legoscia/otp,g-andrade/otp,uabboli/otp,vinoski/otp,uabboli/otp,ferd/otp,bjorng/otp,kvakvs/otp,RoadRunnr/otp,dumbbell/otp,RoadRunnr/otp,vinoski/otp,vinoski/otp,potatosalad/otp,potatosalad/otp,electricimp/otp,getong/otp,potatosalad/otp,dumbbell/otp,rlipscombe/otp,bsmr-erlang/otp,erlang/otp,legoscia/otp,jj1bdx/otp,bjorng/otp,bsmr-erlang/otp,bjorng/otp,RoadRunnr/otp,uabboli/otp,dumbbell/otp,RoadRunnr/otp,emacsmirror/erlang,mikpe/otp,vladdu/otp,aboroska/otp,dgud/otp,rlipscombe/otp,kvakvs/otp,jj1bdx/otp,vinoski/otp,jj1bdx/otp,dgud/otp,aboroska/otp,electricimp/otp,vinoski/otp,ferd/otp,dumbbell/otp,kvakvs/otp,legoscia/otp,getong/otp,kvakvs/otp,isvilen/otp,getong/otp,vinoski/otp,legoscia/otp,RoadRunnr/otp,getong/otp,isvilen/otp,potatosalad/otp,vladdu/otp,erlang/otp,isvilen/otp,aboroska/otp,jj1bdx/otp,mikpe/otp,bjorng/otp,dumbbell/otp,ferd/otp,g-andrade/otp,lrascao/otp,bjorng/otp,emacsmirror/erlang,bjorng/otp,legoscia/otp,kvakvs/otp,g-andrade/otp,bsmr-erlang/otp,isvilen/otp,mikpe/otp,RoadRunnr/otp,uabboli/otp,aboroska/otp,bsmr-erlang/otp,g-andrade/otp,RoadRunnr/otp,mikpe/otp,g-andrade/otp,bsmr-erlang/otp,aboroska/otp,emacsmirror/erlang,rlipscombe/otp,electricimp/otp,vinoski/otp,jj1bdx/otp,erlang/otp,vladdu/otp,vladdu/otp,electricimp/otp,uabboli/otp,mikpe/otp,isvilen/otp,rlipscombe/otp,getong/otp,uabboli/otp,emacsmirror/erlang,mikpe/otp,vinoski/otp,potatosalad/otp,jj1bdx/otp,mikpe/otp,getong/otp,dgud/otp,emacsmirror/erlang,electricimp/otp,erlang/otp,legoscia/otp,dgud/otp,rlipscombe/otp,getong/otp,aboroska/otp,dumbbell/otp,emacsmirror/erlang,ferd/otp,vladdu/otp,rlipscombe/otp,ferd/otp,bjorng/otp,vladdu/otp,g-andrade/otp,potatosalad/otp,vladdu/otp,g-andrade/otp,aboroska/otp,dgud/otp,RoadRunnr/otp,legoscia/otp,potatosalad/otp,ferd/otp,uabboli/otp,potatosalad/otp,isvilen/otp,isvilen/otp,dgud/otp,getong/otp,aboroska/otp,potatosalad/otp,kvakvs/otp,uabboli/otp,dumbbell/otp,electricimp/otp,lrascao/otp,lrascao/otp,mikpe/otp,mikpe/otp,lrascao/otp,legoscia/otp,bsmr-erlang/otp,emacsmirror/erlang,bsmr-erlang/otp,bjorng/otp,lrascao/otp,jj1bdx/otp,kvakvs/otp,bjorng/otp,g-andrade/otp,emacsmirror/erlang,uabboli/otp,erlang/otp,RoadRunnr/otp,dumbbell/otp,dgud/otp,erlang/otp,vinoski/otp,isvilen/otp,kvakvs/otp,dgud/otp,dumbbell/otp,lrascao/otp,getong/otp,isvilen/otp,rlipscombe/otp,erlang/otp,lrascao/otp,lrascao/otp,ferd/otp,g-andrade/otp,isvilen/otp,ferd/otp,g-andrade/otp,getong/otp,dgud/otp,dgud/otp,erlang/otp,bjorng/otp,jj1bdx/otp,dumbbell/otp,rlipscombe/otp,electricimp/otp,bsmr-erlang/otp,potatosalad/otp,electricimp/otp,rlipscombe/otp,emacsmirror/erlang,vladdu/otp,erlang/otp,jj1bdx/otp,ferd/otp