Name

sk_set_memalloc — sets SOCK_MEMALLOC

Synopsis

int sk_set_memalloc (struct sock * sk);
 

Arguments

sk

socket to set it on

Description

Set SOCK_MEMALLOC on a socket and increase the memalloc reserve accordingly.