sk_clone_lock — clone a socket, and lock its clone
struct sock * sk_clone_lock (
)
sk
the socket to clone
priority
for allocation (GFP_KERNEL, GFP_ATOMIC, etc)
GFP_KERNEL
GFP_ATOMIC
Caller must unlock socket even in error path (bh_unlock_sock(newsk))