Name

sk_has_allocations — check if allocations are outstanding

Synopsis

bool sk_has_allocations (const struct sock * sk);
 

Arguments

sk

socket

Description

Returns true if socket has write or read allocations