From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.170 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796063926; b=WfdjSWXCP1vkPqofCSe3MstFcJqHc5FjV1O90INm6AgiDPUTn1dY6aSix2ECEpfiA/ks +uS2YUa39cZ4mL2zM5zgHVvHdPml9LABgcFDx1/Qde3OyOMg7GSIviIy1FtOvuHGRr6q1 8DuLzHsOsLw+G+Fr9jibUgEANYflDOEhybFCpa79Czcgw1IMYQZ5NC99VaGytR6edkddF UviTJF3cWSL2Vne9JCcd7Zm5Ibkh5rTRx7rMsq+CsOqGfM63rhDBnfGXRHw67Xkh1chcI 4WxH1+rtTmx39dR63sU8rv7BIbOZh9SaEmF3YPHtXv64S3EQoK2sLLzGBwk2vFYn28Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796063926; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-Id:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=cZYzY94w7KNl/Yc94LuL9GDIRs01EzMVyPv2JQCjgro=; b=oq58pSMjWjtbJN3rqNtVoZ+KS/27CbW1YYW8ejHwMyM+YzTfeaX/uuBnR3LLGF6MDIY/ CjyLzGAb33FwkJaiYGzQPZ66fTGjnn7JitzZLbJQ9tQoLksycTdAcl57Qp6cdNKzCx4DY WdwPOPISFofxCoOWL8AwTSTKjG+OUZ87bi/pj27vB0NO3ZD3L6aP4ZFS/L/HosfkN98f0 4JCOZH3Q4COID4n894IVNEjz39Gerr+cAilwZZcGKznfgaBxL9FzGfObBKurtvnyDmz9T iAW0El9pxRJGnYbfvtkNDcC++g100qQprXAWaZMMbTmkjWjsxvQlZ/Gf8c41mdheWSg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=x8x2BNuc; arc=none smtp.remote-ip=209.85.222.170 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBB41606A327 for ; Mon, 30 Nov 2026 18:38:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CBB41606A327 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=x8x2BNuc Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-94958650b09so1031840885a.1 for ; Mon, 30 Nov 2026 10:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu.com; s=google; t=1796063925; x=1796668725; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=cZYzY94w7KNl/Yc94LuL9GDIRs01EzMVyPv2JQCjgro=; b=x8x2BNuciitiqn4fw/xX3d4i3TCGAShpbKlr3AB1P7r8PQGrbdGkRSHziOciC7g7Ob mMX22mRHlrUKnQDoWwRVNMHmQs40Pnbz8WaO49ifNLszewYm2Q6sDNeKUG37u+ICZDR3 6YkYFWI/Xi9vL5ZFBoMyaZPfjK6sgJNXlWCrA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796063925; x=1796668725; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=cZYzY94w7KNl/Yc94LuL9GDIRs01EzMVyPv2JQCjgro=; b=JPlYDibUfFwI1dg3A+NmjsLZDFMRNQRkSPT2u4RZxQUo1BU5apYbLcmiprCwEaZaFu pe6PrkP+OYSV4zs1qxZ4FuCqGqkrIGanYjuVU5wIFlurOZxq3FcuMirXkqijaJ8wWOtb Ctth3yKdyrB25EtRr52RRMEY3aLdHyXecxxZA8XNQ5H44nhcAhegNzMNrqUxHXspzb6Z kJ24+Ezkvqc0AyyV1mNtDaeEOQ4hOglXS2cDB9tXiMqzJ7ePvkTHTikeCsrbR2YCxBrT 9m4+xD1TPL6O34zFsUrFhSnB6FRwZkRo2aNLMHEepJveV1lM6QyJ1xzhej33egxOYnLo 8/FQ== X-Gm-Message-State: APuU4Z+dAWRzgG0HZisgZ75ZT68lelgHq7OR/9vBfO8cuWmALkVt3rZi bwSj20cphrk4PdMA77+OgBLApusnx3RRcnJeUz+HE04/gcRbrKlkBrARCwGsvvtI5ySzMXKXp8q +F98E/w== X-Gm-Gg: AZFdTZcrAkURgmp/ZZ3JI6DpcNxyJAqX1yl9CaLydx1caormFA0jTyEZPlkrFa4ZXTx UiwC+ap8D2+8f8MtErBtbEEsMd2raI6JU/SdqK0qgfzMYjlB9aSuIel5xnDnLTKl8HKxPlinamt ceFydAdAk0GvH7PYs9SUc0bQJN9PUiJLCTfqc558SD5p8y2pNCOT36iLRQ4Fq+xvdPMTxD1lspe PBT/igdAVGYWNLJxILGkcTfIcOeHCzpaMJfiRrNJqCUo/tkPhteeuS3tFpptc5Jeg1UtkpTRRec J32FiAKAsOhIIKBawbM2PEe6uxBF2T/4pMxXez+4Q+/b3uPUWunm5PGV0Mg3k9oRYuHPzw326QT nXF8o9PDGDtS+rUDMSkwA+nZEAtrU30odz8yyC6WT2kA7tD13fgAlYQWO4YTlkf+L4NzMKlfgjz dJk9qTvyvHTwpSxM4tJvaqVPMTDPzyVHg8Mwtz7BiWKpGdLaTnXFln2R207XKau8o08SXoMQAOV FJEzEYOC8ZDLxfxmnV38C9PggxdbyulGEwtVpp0Q5o+/NLeqx+KbS89OelTW0alttKqw3LH+Har 0i5nuR9AQwMw4H7LTNDEvs0JxbyYSy9EPYkncC7yHimh38WOJscM2tkqb8S8qmxe36ly1jSfCJR kGW2ic6gihYLSmO1u8ipnas+dbC53JfrH8dludo8hkEWB+zNyQyBT/a7F7854ZxJy1g== X-Received: by 2002:a05:620a:6607:b0:949:3c50:134 with SMTP id af79cd13be357-949ba9a178amr5852013785a.33.1796063924411; Mon, 30 Nov 2026 10:38:44 -0800 (PST) Received: from majuu.waya ([184.147.180.207]) by smtp.gmail.com with ESMTPSA id af79cd13be357-949ca846322sm2444717785a.34.2026.11.30.10.38.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 10:38:44 -0800 (PST) From: Jamal Hadi Salim To: netdev@vger.kernel.org Cc: Jamal Hadi Salim , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , Simon Horman , Jiri Pirko , Stephen Hemminger , Vinicius Costa Gomes , =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= , cake@lists.bufferbloat.net, Victor Nogueira , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Sashiko Subject: [PATCH net-next v15 4/4] net/sched: cake: hash before segmenting and reject an overlong split Date: Mon, 30 Nov 2026 13:38:25 -0500 Message-Id: <20261130183825.229246-5-jhs@mojatatu.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261130183825.229246-1-jhs@mojatatu.com> References: <20261130183825.229246-1-jhs@mojatatu.com> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Fix: with CAKE_FLAG_SPLIT_GSO, cake computes the flow keys and then splits a GSO skb into segments it accounts individually. Key extraction must run on the unsegmented skb -- skb_gso_segment() can rewrite encapsulated headers to the inner ones -- and resolution must wait until admission, since it commits set-associative state a later rejection would leave mutated. Split cake_hash() into a side-effect-free cake_hash_keys() and a cake_hash_resolve() that runs only on admission, move the split-GSO path ahead of the resolution, and sum the list against the ceiling before linking any segment. A split an ancestor cannot absorb is refused, because qdisc_tree_reduce_backlog() would grow it without its enqueue guard seeing the sum. The list is deferred to free so the tail segment's sock_free() never runs under the qdisc lock. Found by our review of an earlier revision of this series, and refined by Sashiko's reviews of the split path. Some context: tag every deferred segment with QDISC_DROP_OVERLIMIT -- skb_gso_segment() keeps the control block at cb offset 32, aliasing the qdisc drop reason into every segment, so tagging only the head left the rest with a headroom-sized value. Read the flow mode once with READ_ONCE() so a concurrent cake_mq reconfiguration cannot extract and resolve in different modes. The reconciliation's length is signed, so the segment-sum subtraction cannot be mistaken for growth. Conditions to recreate the bug: ip tuntap add tun0 mode tun ip link set tun0 txqueuelen 32 up ip addr add 10.99.0.1/24 dev tun0 # hold the tun fd open without reading so the backlog persists; a stab # overhead of 1048468 accounts each 92-byte packet at 1048560 bytes. # 4095 queued packets are already above QDISC_MAX_BACKLOG, so the # enqueue guard drops the GSO skb before the split is tried; 4094 # packets leave 2162655 bytes below U32_MAX, and the split reserves two # copies of its growth, so only a segment sum above 1081327 reaches the # check and cake drops the whole list. A 65000-byte UDP_SEGMENT payload # with a 1400-byte segment size sums to 66316 bytes and passes. Setup # needs CAP_NET_ADMIN in a user namespace of its own (unshare -Urn); the # payload itself does not. tc qdisc add dev tun0 root handle 1: stab overhead 1048468 \ cake split-gso memlimit 512Mb # Fill the queue to the window with 4094 92-byte frames (1048560 # accounted bytes each) and then send the split: python3 -c 'import socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 33554432) for _ in range(4094): s.sendto(b"A" * 64, ("10.99.0.2", 9))' # A 65000-byte UDP_SEGMENT datagram with a 1400-byte segment size sums # to 66316 accounted bytes and is admitted; the refusal needs a segment # sum above 1081327 bytes, half the 2162655 left below U32_MAX because # two copies of the growth are reserved, which this example does not # reach. The clause is a defensive bound, not a proven one: # the shape that can reach it is an encapsulated trusted TSO with a small # inner MSS, where the initializer replicates outer and inner headers on # every segment. python3 -c 'import socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.IPPROTO_UDP, socket.UDP_SEGMENT, 1400) s.sendto(b"A" * 65000, ("10.99.0.2", 9))' Link: https://lore.kernel.org/netdev/179231933068.3135.80340792633077986@kernel.org/ Link: https://lore.kernel.org/netdev/179269577270.3135.16072065138845192450@kernel.org/ Reviewed-by: Victor Nogueira Signed-off-by: Jamal Hadi Salim --- v14 -> v15: - reserve two copies of the split growth in the own-counter test and in the ancestor-room check, because a netem duplicate books its clone twice. --- net/sched/sch_cake.c | 144 +++++++++++++++++++++++++++++++------------ 1 file changed, 103 insertions(+), 41 deletions(-) diff --git a/net/sched/sch_cake.c b/net/sched/sch_cake.c index 25c7e20ec123..f7ac265bfa17 100644 --- a/net/sched/sch_cake.c +++ b/net/sched/sch_cake.c @@ -709,19 +709,28 @@ static u16 cake_get_flow_quantum(struct cake_tin_data *q, get_random_u16()) >> 16; } -static u32 cake_hash(struct cake_tin_data *q, const struct sk_buff *skb, - int flow_mode, u16 flow_override, u16 host_override) +struct cake_hash_keys { + u32 srchost_hash; + u32 dsthost_hash; + u32 flow_hash; +}; + +static void cake_hash_keys(const struct sk_buff *skb, int flow_mode, + u16 flow_override, u16 host_override, + struct cake_hash_keys *out) { bool hash_flows = (!flow_override && !!(flow_mode & CAKE_FLOW_FLOWS)); bool hash_hosts = (!host_override && !!(flow_mode & CAKE_FLOW_HOSTS)); bool nat_enabled = !!(flow_mode & CAKE_FLOW_NAT_FLAG); - u32 flow_hash = 0, srchost_hash = 0, dsthost_hash = 0; - u16 reduced_hash, srchost_idx, dsthost_idx; struct flow_keys keys, host_keys; bool use_skbhash = skb->l4_hash; + out->flow_hash = 0; + out->srchost_hash = 0; + out->dsthost_hash = 0; + if (unlikely(flow_mode == CAKE_FLOW_NONE)) - return 0; + return; /* If both overrides are set, or we can use the SKB hash and nat mode is * disabled, we can skip packet dissection entirely. If nat mode is @@ -756,50 +765,62 @@ static u32 cake_hash(struct cake_tin_data *q, const struct sk_buff *skb, switch (host_keys.control.addr_type) { case FLOW_DISSECTOR_KEY_IPV4_ADDRS: host_keys.addrs.v4addrs.src = 0; - dsthost_hash = flow_hash_from_keys(&host_keys); + out->dsthost_hash = flow_hash_from_keys(&host_keys); host_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; host_keys.addrs.v4addrs.dst = 0; - srchost_hash = flow_hash_from_keys(&host_keys); + out->srchost_hash = flow_hash_from_keys(&host_keys); break; case FLOW_DISSECTOR_KEY_IPV6_ADDRS: memset(&host_keys.addrs.v6addrs.src, 0, sizeof(host_keys.addrs.v6addrs.src)); - dsthost_hash = flow_hash_from_keys(&host_keys); + out->dsthost_hash = flow_hash_from_keys(&host_keys); host_keys.addrs.v6addrs.src = keys.addrs.v6addrs.src; memset(&host_keys.addrs.v6addrs.dst, 0, sizeof(host_keys.addrs.v6addrs.dst)); - srchost_hash = flow_hash_from_keys(&host_keys); + out->srchost_hash = flow_hash_from_keys(&host_keys); break; default: - dsthost_hash = 0; - srchost_hash = 0; + out->dsthost_hash = 0; + out->srchost_hash = 0; } /* This *must* be after the above switch, since as a * side-effect it sorts the src and dst addresses. */ if (hash_flows && !use_skbhash) - flow_hash = flow_hash_from_keys(&keys); + out->flow_hash = flow_hash_from_keys(&keys); skip_hash: if (flow_override) - flow_hash = flow_override - 1; + out->flow_hash = flow_override - 1; else if (use_skbhash && (flow_mode & CAKE_FLOW_FLOWS)) - flow_hash = skb->hash; + out->flow_hash = skb->hash; if (host_override) { - dsthost_hash = host_override - 1; - srchost_hash = host_override - 1; + out->dsthost_hash = host_override - 1; + out->srchost_hash = host_override - 1; } if (!(flow_mode & CAKE_FLOW_FLOWS)) { if (flow_mode & CAKE_FLOW_SRC_IP) - flow_hash ^= srchost_hash; + out->flow_hash ^= out->srchost_hash; if (flow_mode & CAKE_FLOW_DST_IP) - flow_hash ^= dsthost_hash; + out->flow_hash ^= out->dsthost_hash; } +} + +/* Commit the flow into the set-associative table, only after admission. */ +static u32 cake_hash_resolve(struct cake_tin_data *q, + const struct cake_hash_keys *keys, int flow_mode) +{ + u32 flow_hash = keys->flow_hash, srchost_hash = keys->srchost_hash, + dsthost_hash = keys->dsthost_hash; + u16 reduced_hash, srchost_idx, dsthost_idx; + + if (unlikely(flow_mode == CAKE_FLOW_NONE)) + return 0; reduced_hash = flow_hash % CAKE_QUEUES; @@ -1717,10 +1738,8 @@ static struct cake_tin_data *cake_select_tin(struct Qdisc *sch, return &qd->tins[tin]; } -/* Run the qdisc's optional external classifier. Returns true when a - * terminal TC action wants the packet dropped, with the reason in *qerr; - * the caller must drop the skb. Otherwise *flow and *host hold the - * filter's overrides (0 if none). +/* Run the optional external classifier; true means a terminal drop with + * the reason in *qerr. Otherwise *flow and *host hold the overrides. */ static bool cake_tcf_classify(struct Qdisc *sch, struct sk_buff *skb, u16 *flow, u16 *host, int *qerr) @@ -1769,11 +1788,18 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch, struct cake_sched_data *q = qdisc_priv(sch); int len = qdisc_pkt_len(skb), ret; u16 flow_override, host_override; + struct sk_buff *segs = NULL; + struct cake_hash_keys keys; struct sk_buff *ack = NULL; ktime_t now = ktime_get(); struct cake_tin_data *b; struct cake_flow *flow; bool same_flow = false; + int flow_mode; + u64 slen = 0; + u64 growth; + + flow_mode = READ_ONCE(q->config->flow_mode); /* Classify first: a terminal verdict means do not enqueue. */ if (cake_tcf_classify(sch, skb, &flow_override, &host_override, &ret)) { @@ -1790,12 +1816,53 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch, QDISC_DROP_OVERLIMIT); } - /* choose flow to insert into */ + /* Select the tin and extract the keys before segmenting: + * skb_gso_segment() rewrites encapsulated headers, which + * changes the keys. + */ b = cake_select_tin(sch, skb); - idx = cake_hash(b, skb, q->config->flow_mode, flow_override, - host_override) + 1; + cake_hash_keys(skb, flow_mode, flow_override, host_override, &keys); + + if (qdisc_pkt_segs(skb) > 1 && + q->config->rate_flags & CAKE_FLAG_SPLIT_GSO) { + netdev_features_t features = netif_skb_features(skb); + struct sk_buff *nskb, *seg; + + segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); + if (IS_ERR_OR_NULL(segs)) + return qdisc_drop_reason(skb, sch, to_free, + QDISC_DROP_GENERIC); + + /* we never use the original skb after splitting */ + consume_skb(skb); + skb = NULL; + + /* The split books the segment sum, not the clamped + * qdisc_pkt_len(); a duplicate books its clone twice. + */ + skb_list_walk_safe(segs, seg, nskb) + slen += seg->len; + + growth = slen > (u64)len ? slen - len : 0; + if (unlikely(((u64)sch->qstats.backlog + 2 * slen > U32_MAX) || + (growth && + !qdisc_ancestors_backlog_room(sch, + 2 * growth)))) { + qdisc_qstats_overlimit(sch); + /* __skb_gso_segment() leaves SKB_GSO_CB over + * tc_skb_cb.drop_reason; tag every segment. + */ + skb_list_walk_safe(segs, seg, nskb) + tcf_set_qdisc_drop_reason(seg, + QDISC_DROP_OVERLIMIT); + + return qdisc_drop_all(segs, sch, to_free); + } + } + + /* Admitted: resolve the flow. */ + idx = cake_hash_resolve(b, &keys, flow_mode); tin = (u32)(b - q->tins); - idx--; flow = &b->flows[idx]; /* ensure shaper state isn't stale */ @@ -1822,14 +1889,9 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch, if (unlikely(len > b->max_skblen)) WRITE_ONCE(b->max_skblen, len); - if (qdisc_pkt_segs(skb) > 1 && q->config->rate_flags & CAKE_FLAG_SPLIT_GSO) { - struct sk_buff *segs, *nskb, *seg; - netdev_features_t features = netif_skb_features(skb); - unsigned int slen = 0, numsegs = 0; - - segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); - if (IS_ERR_OR_NULL(segs)) - return qdisc_drop(skb, sch, to_free); + if (segs) { + struct sk_buff *nskb, *seg; + unsigned int numsegs = 0; skb_list_walk_safe(segs, seg, nskb) { skb_mark_not_on_list(seg); @@ -1843,7 +1905,6 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch, qdisc_qlen_inc(sch); numsegs++; q->buffer_used += seg->truesize; - slen += seg->len; WRITE_ONCE(b->packets, b->packets + 1); } @@ -1854,10 +1915,10 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch, WRITE_ONCE(b->tin_backlog, b->tin_backlog + slen); WRITE_ONCE(b->backlogs[idx], b->backlogs[idx] + slen); - qdisc_tree_reduce_backlog(sch, 1-numsegs, len-slen); - consume_skb(skb); + qdisc_tree_reduce_backlog(sch, 1 - numsegs, + (s64)len - (s64)slen); } else { - /* not splitting */ + /* not splitting - skb pointer still valid */ int ack_pkt_len = 0; cobalt_set_enqueue_time(skb, now); @@ -1951,7 +2012,8 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch, flow->set = CAKE_SET_SPARSE; WRITE_ONCE(b->sparse_flow_count, b->sparse_flow_count + 1); - WRITE_ONCE(flow->deficit, cake_get_flow_quantum(b, flow, q->config->flow_mode)); + WRITE_ONCE(flow->deficit, + cake_get_flow_quantum(b, flow, flow_mode)); } else if (flow->set == CAKE_SET_SPARSE_WAIT) { /* this flow was empty, accounted as a sparse flow, but actually * in the bulk rotation. @@ -1960,8 +2022,8 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch, WRITE_ONCE(b->sparse_flow_count, b->sparse_flow_count - 1); WRITE_ONCE(b->bulk_flow_count, b->bulk_flow_count + 1); - cake_inc_srchost_bulk_flow_count(b, flow, q->config->flow_mode); - cake_inc_dsthost_bulk_flow_count(b, flow, q->config->flow_mode); + cake_inc_srchost_bulk_flow_count(b, flow, flow_mode); + cake_inc_dsthost_bulk_flow_count(b, flow, flow_mode); } if (q->buffer_used > u64_stats_read(&q->buffer_max_used)) { -- 2.43.0