Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sch_generic.h Create Date:2022-07-28 06:07:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__qdisc_queue_drop_head

Proto:static inline unsigned int __qdisc_queue_drop_head(struct Qdisc *sch, struct qdisc_skb_head *qh, struct sk_buff **to_free)

Type:unsigned int

Parameter:

TypeParameterName
struct Qdisc *sch
struct qdisc_skb_head *qh
struct sk_buff **to_free
1052  skb = __qdisc_dequeue_head(qh)
1054  If Value is more likely to compile time(skb != NULL) Then
1055  len = qdisc_pkt_len(skb)
1057  qdisc_qstats_backlog_dec(sch, skb)
1058  Instead of calling kfree_skb() while root qdisc lock is held,* queue the skb for future freeing at end of __dev_xmit_skb()
1059  Return len
1062  Return 0