centos man page for skb_share_check

Query: skb_share_check

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SKB_SHARE_CHECK(9)						 Linux Networking						SKB_SHARE_CHECK(9)

NAME
skb_share_check - check if buffer is shared and if so clone it
SYNOPSIS
struct sk_buff * skb_share_check(struct sk_buff * skb, gfp_t pri);
ARGUMENTS
skb buffer to check pri priority for memory allocation
DESCRIPTION
If the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SKB_SHARE_CHECK(9)
Related Man Pages
wimax_msg_alloc(9) - suse
cfg80211_testmode_alloc_reply_skb(9) - centos
esbbcall(9f) - debian
esbbcall(9f) - osx
esbbcall(9f) - minix
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!