函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:不再需要发布一个skb

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

返回类型:void

参数:

类型参数名称
struct sock *sk
struct sk_buff *skb
2461  __skb_unlink(skb, & sk_receive_queue)
2462  如果static_branch_unlikely( & sk_eat_skb - Release a skb if it is no longer needed*@sk: socket to eat this skb from*@skb: socket buffer to eat* This routine must be called with interrupts disabled or with the socket* locked so that the sk_buff queue operation is ok.)且非sk_rx_skb_cache
2464  sk_rx_skb_cache等于skb
2465  孤立一个缓存区
2466  返回
2468  __kfree_skb(skb)