Check if allocations are outstanding
bool sk_has_allocations(const struct sock * sk);
sk
socket
Returns true if socket has write or read allocations