table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
SK_CLONE_LOCK(9) | Linux Networking | SK_CLONE_LOCK(9) |
NAME¶
sk_clone_lock - clone a socket, and lock its cloneSYNOPSIS¶
struct
sock * sk_clone_lock(const struct sock * sk,
const gfp_t priority);
ARGUMENTS¶
skthe socket to clone
priority
for allocation (GFP_KERNEL,
GFP_ATOMIC, etc)
DESCRIPTION¶
Caller must unlock socket even in error path (bh_unlock_sock(newsk))COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |