On Fri, May 18, 2018 at 5:49 PM, Greg Rose <[email protected]> wrote:
> From: William Tu <[email protected]>
>
> Upstream commit:
>     commit 46e371f0e78a82186a83cbcb4f4b8850417c7dd5
>     Author: William Tu <[email protected]>
>     Date:   Wed Mar 7 15:38:48 2018 -0800
>
>     openvswitch: fix vport packet length check.
>
>     When sending a packet to a tunnel device, the dev's hard_header_len
>     could be larger than the skb->len in function packet_length().
>     In the case of ip6gretap/erspan, hard_header_len = LL_MAX_HEADER + t_hlen,
>     which is around 180, and an ARP packet sent to this tunnel has
>     skb->len = 42.  This causes the 'unsign int length' to become super
>     large because it is negative value, causing the later ovs_vport_send
>     to drop it due to over-mtu size.  The patch fixes it by setting it to 0.
>
>     Signed-off-by: William Tu <[email protected]>
>     Acked-by: Pravin B Shelar <[email protected]>
>     Signed-off-by: David S. Miller <[email protected]>
>
> Cc: William Tu <[email protected]>
> Signed-off-by: Greg Rose <[email protected]>
> ---

Thanks for backporting this patch.
Acked-by: William Tu <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to