Scroll to navigation

SKB_LINEARIZE_COW(9) Linux Networking SKB_LINEARIZE_COW(9)

NAME

skb_linearize_cow - make sure skb is linear and writable

SYNOPSIS

int skb_linearize_cow(struct sk_buff * skb);

ARGUMENTS

skb

buffer to process

DESCRIPTION

If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.