summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@toke.dk>2022-09-05 21:21:36 +0200
committerPaolo Abeni <pabeni@redhat.com>2022-09-08 11:12:58 +0200
commit2f09707d0c972120bf794cfe0f0c67e2c2ddb252 (patch)
tree14f289c0c25a7a6cb6e5d3df933d8964e465cf24 /include
parentnet: phy: lan87xx: change interrupt src of link_up to comm_ready (diff)
downloadlinux-2f09707d0c972120bf794cfe0f0c67e2c2ddb252.tar.xz
linux-2f09707d0c972120bf794cfe0f0c67e2c2ddb252.zip
sch_sfb: Also store skb len before calling child enqueue
Cong Wang noticed that the previous fix for sch_sfb accessing the queued skb after enqueueing it to a child qdisc was incomplete: the SFB enqueue function was also calling qdisc_qstats_backlog_inc() after enqueue, which reads the pkt len from the skb cb field. Fix this by also storing the skb len, and using the stored value to increment the backlog after enqueueing. Fixes: 9efd23297cca ("sch_sfb: Don't assume the skb is still around after enqueueing to child") Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Acked-by: Cong Wang <cong.wang@bytedance.com> Link: https://lore.kernel.org/r/20220905192137.965549-1-toke@toke.dk Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions