[PATCH] net: fix incorrect L2 length for GRE tunneling packet

Thomas Monjalon thomas at monjalon.net
Tue Nov 11 13:35:55 CET 2025


23/07/2025 12:47, Dengdui Huang:
> The meaning of L2_len in the parsing result of the rte_net_get_ptype()
> is the same as the L2_len field in the mbuf. For tunnel packets,
> the L2_len should include protocol header of tunnel packets.
> 
> Bugzilla ID: 1754
> Fixes: d21d855464ff ("net: support GRE in software packet type parser")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>
Reviewed-by: Chengwen Feng <fengchengwen at huawei.com>

Applied, thanks.




More information about the dev mailing list