Re: [PATCH net] net: ipv6: Validate GSO SKB before finish IPv6 processing

2020-12-31 Thread Daniel Axtens
Hi Aya, > Daniel Axtens, does this solve the issue referred in your commit? > 8914a595110a bnx2x: disable GSO where gso_size is too big for hardware No, because: > Note: These cases are handled in the same manner in IPv4 output finish. > This patch aligns the behavior of IPv6 and IPv4. and the is

[PATCH net] net: ipv6: Validate GSO SKB before finish IPv6 processing

2020-12-30 Thread Aya Levin
There are cases where GSO segment's length exceeds the egress MTU. If so: - Consume the SKB and its segments. - Issue an ICMP packet with 'Packet Too Big' message containing the MTU, allowing the source host to reduce its Path MTU appropriately. Note: These cases are handled in the same manne