1. NAME▲

sk_page_frag - return an appropriate page_frag

2. SYNOPSIS ▲

struct page_frag * sk_page_frag(struct sock *  sk );

3. ARGUMENTS ▲

sk
    socket

4. DESCRIPTION ▲

If socket allocation mode allows current thread to sleep, it means its safe to use the per task page_frag instead of the per socket one.

5. COPYRIGHT ▲