Query: sk_clone_lock
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SK_CLONE_LOCK(9) Linux Networking SK_CLONE_LOCK(9)NAMEsk_clone_lock - clone a socket, and lock its cloneSYNOPSISstruct sock * sk_clone_lock(const struct sock * sk, const gfp_t priority);ARGUMENTSsk the socket to clone priority for allocation (GFP_KERNEL, GFP_ATOMIC, etc)DESCRIPTIONCaller must unlock socket even in error path (bh_unlock_sock(newsk))COPYRIGHTKernel Hackers Manual 3.10 June 2014 SK_CLONE_LOCK(9)