Commit a41851be authored by Fengyuan Gong's avatar Fengyuan Gong Committed by Jakub Kicinski
Browse files

net: account for encap headers in qdisc pkt len



Refine qdisc_pkt_len_init to include headers up through
the inner transport header when computing header size
for encapsulations. Also refine net/sched/sch_cake.c
borrowed from qdisc_pkt_len_init().

Signed-off-by: default avatarFengyuan Gong <gfengyuan@google.com>
Reviewed-by: default avatarWillem de Bruijn <willemb@google.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Acked-by: default avatarToke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20250702160741.1204919-1-gfengyuan@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 7725a35e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment