summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2026-04-18 06:19:40 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-28 03:30:27 +0300
commit4185701fcce6b426b6c3630b25330dddd9c47b0d (patch)
tree39f603785690bd02194e5eb3bdafa18d8e5a15de /include/linux/stackprotector.h
parent732b463449fd0ef90acd13cda68eab1c91adb00c (diff)
downloadlinux-4185701fcce6b426b6c3630b25330dddd9c47b0d.tar.xz
net/sched: netem: fix queue limit check to include reordered packets
The queue limit check in netem_enqueue() uses q->t_len which only counts packets in the internal tfifo. Packets placed in sch->q by the reorder path (__qdisc_enqueue_head) are not counted, allowing the total queue occupancy to exceed sch->limit under reordering. Include sch->q.qlen in the limit check. Fixes: f8d4bc455047 ("net/sched: netem: account for backlog updates from child qdisc") Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260418032027.900913-3-stephen@networkplumber.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions