函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-27 07:06:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sk_wmem_free_skb

函数原型:static inline void sk_wmem_free_skb(struct sock *sk, struct sk_buff *skb)

返回类型:void

参数:

类型参数名称
struct sock *sk
struct sk_buff *skb
1478  sock_set_flag(sk, write queue has been shrunk recently )
1479  sk_wmem_queued_add(sk, - truesize)
1480  sk_mem_uncharge(sk, truesize)
1481  如果static_branch_unlikely( & tcp_tx_skb_cache_key)且非sk_tx_skb_cache且非缓存是克隆的?
1483  Release a reference on a zerocopy structure
1484  sk_tx_skb_cache等于skb
1485  返回
1487  __kfree_skb(skb)
调用者
名称描述
tcp_rtx_queue_unlink_and_free