Thread (25 messages) 25 messages, 6 authors, 2020-10-19

Re: [PATCHv3 net-next 02/16] udp6: move the mss check after udp gso tunnel processing

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2020-10-13 17:20:38
Also in: linux-sctp

On Tue, Oct 13, 2020 at 3:28 AM Xin Long [off-list ref] wrote:
For some protocol's gso, like SCTP, it's using GSO_BY_FRAGS for
gso_size. When using UDP to encapsulate its packet, it will
return error in udp6_ufo_fragment() as skb->len < gso_size,
and it will never go to the gso tunnel processing.

So we should move this check after udp gso tunnel processing,
the same as udp4_ufo_fragment() does.

v1->v2:
  - no change.
v2->v3:
  - not do any cleanup.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>

Thanks for revising
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help