Xin Long 3c7d4415db udp6: move the mss check after udp gso tunnel processing
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: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-30 15:23:41 -07:00
..
2020-07-24 17:12:41 -07:00
2019-07-27 14:23:48 -07:00
2020-07-13 17:20:39 -07:00
2020-03-30 13:45:04 -07:00
2020-10-06 06:23:21 -07:00
2020-03-29 22:30:57 -07:00
2020-09-18 14:12:43 -07:00