[dpdk-dev] [PATCH v2] gro: fix an error when packet is IPv6

Thomas Monjalon thomas at monjalon.net
Sat Nov 14 09:47:28 CET 2020


> > For VxLAN packets,  GRO will mistakenly reassemble them
> > if inner L3 is IPv6, inner L4 is TCP or UDP, and outer L3
> > is IPv4 because the value of IS_IPV4_VXLAN_TCP4/UDP4_PKT
> > is true for them.
> > 
> > This fix makes sure IS_IPV4_TCP_PKT, IS_IPV4_UDP_PKT,
> > IS_IPV4_VXLAN_TCP4_PKT and IS_IPV4_VXLAN_UDP4_PKT can make
> > decision precisely.
> > 
> > Fixes: e2d811063673 ("gro: support VXLAN UDP/IPv4")
> > Fixes: 1ca5e6740852 ("gro: support UDP/IPv4")
> > Fixes: 9e0b9d2ec0f4 ("gro: support VxLAN GRO")
> > Fixes: 0d2cbe59b719 ("lib/gro: support TCP/IPv4")
> > Signed-off-by: Yi Yang <yangyi01 at inspur.com>
> Acked-by: Jiayu Hu <jiayu.hu at intel.com>

Added missing Cc: stable at dpdk.org

Tried to be more precise in the title:
"gro: fix packet type detection with IPv6 tunnel"

Applied, thanks




More information about the dev mailing list