Query: skb_copy_ubufs
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SKB_COPY_UBUFS(9) Linux Networking SKB_COPY_UBUFS(9)NAMEskb_copy_ubufs - copy userspace skb frags buffers to kernelSYNOPSISint skb_copy_ubufs(struct sk_buff * skb, gfp_t gfp_mask);ARGUMENTSskb the skb to modify gfp_mask allocation priorityDESCRIPTIONThis must be called on SKBTX_DEV_ZEROCOPY skb. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask must be GFP_ATOMIC. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SKB_COPY_UBUFS(9)