• Willem de Bruijn's avatar
    gso: limit udp gso to egress-only virtual devices · 8eea1ca8
    Willem de Bruijn authored
    Until the udp receive stack supports large packets (UDP GRO), GSO
    packets must not loop from the egress to the ingress path.
    
    Revert the change that added NETIF_F_GSO_UDP_L4 to various virtual
    devices through NETIF_F_GSO_ENCAP_ALL as this included devices that
    may loop packets, such as veth and macvlan.
    
    Instead add it to specific devices that forward to another device's
    egress path, bonding and team.
    
    Fixes: 83aa025f ("udp: add gso support to virtual devices")
    CC: Alexander Duyck <alexander.duyck@gmail.com>
    Signed-off-by: default avatarWillem de Bruijn <willemb@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8eea1ca8
bond_main.c 135 KB