sk_page_frag
Prev | Socket Buffer Functions | Next

## Name

sk_page_frag — return an appropriate page_frag

## Synopsis

`struct page_frag * sk_page_frag (` | struct sock * sk`)`;

## Arguments

`sk`

  socket

## 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.

Prev | Up | Next
sock_poll_wait | Home | sock_tx_timestamp