sock: use atomic_cas_ptr correctly
sock: use atomic_cas_ptr correctly

This bug was caused by incorrect documentation (already fixed).  It resulted
in us freeing the name on successful CAS and caching the freed pointer.

Signed-off-by: Josef 'Jeff' Sipek <a620f141433c70aa9e43778305a6c68cbfadfb25@josefsipek.net>

jeffpc/libjeffpc,jeffpc/libjeffpc,jeffpc/libjeffpc,jeffpc/libjeffpc