1SK_CLONE_LOCK(9)               Linux Networking               SK_CLONE_LOCK(9)
2
3
4

NAME

6       sk_clone_lock - clone a socket, and lock its clone
7

SYNOPSIS

9       struct sock * sk_clone_lock(const struct sock * sk,
10                                   const gfp_t priority);
11

ARGUMENTS

13       sk
14           the socket to clone
15
16       priority
17           for allocation (GFP_KERNEL, GFP_ATOMIC, etc)
18

DESCRIPTION

20       Caller must unlock socket even in error path (bh_unlock_sock(newsk))
21
23Kernel Hackers Manual 3.10         June 2019                  SK_CLONE_LOCK(9)
Impressum