Re: [PATCH v11] gro: fix reordering of packets in GRO layer

2024-01-08 Thread kumaraparameshwaran rathinavel
On Sun, Jan 7, 2024 at 10:50 PM Stephen Hemminger < step...@networkplumber.org> wrote: > On Sun, 7 Jan 2024 16:59:20 +0530 > Kumara Parameshwaran wrote: > > > + /* Return early if the TCP flags are not handled in GRO layer */ > > + if (tcp_hdr->tcp_flags & (~(VALID_GRO_TCP_FLAGS))) > > N

[PATCH v11] gro: fix reordering of packets in GRO layer

2024-01-07 Thread Kumara Parameshwaran
In the current implementation when a packet is received with special TCP flag(s) set, only that packet is delivered out of order. There could be already coalesced packets in the GRO table belonging to the same flow but not delivered. This fix makes sure that the entire segment is delivered with the