[PATCH] gro: fix gro with ethernet tail padding bytes
Thomas Monjalon
thomas at monjalon.net
Sun Oct 9 19:26:51 CEST 2022
15/08/2022 03:27, Hu, Jiayu:
> From: Jun Qiu <jun.qiu at jaguarmicro.com>
> >
> > I don't think the stack(software) cares if the length of a packet is less than 60,
> > especially when receiving it.
> > In the linux kernel, if the packet length does not match the IP total-length,
> > the packet is flushed to the stack instead of GRO. The previous GRO cache
> > packets are also flushed into the stack.
> >
> > If you trim padding in merge_two_tcp4_packets(), then both "pkt_head"
> > and "pkt_tail" need to decide whether to trim or not, which can be a bit tricky
> > to handle.
>
> OK. This patch is OK for me.
>
> Acked-by: Jiayu Hu <Jiayu.hu at intel.com>
Applied, thanks.
More information about the stable
mailing list