• Paul Durrant's avatar
    xen-netback: fix gso_prefix check · a3314f3d
    Paul Durrant authored
    There is a mistake in checking the gso_prefix mask when passing large
    packets to a guest. The wrong shift is applied to the bit - the raw skb
    gso type is used rather then the translated one. This leads to large packets
    being handed to the guest without the GSO metadata. This patch fixes the
    check.
    
    The mistake manifested as errors whilst running Microsoft HCK large packet
    offload tests between a pair of Windows 8 VMs. I have verified this patch
    fixes those errors.
    Signed-off-by: default avatarPaul Durrant <paul.durrant@citrix.com>
    Cc: Wei Liu <wei.liu2@citrix.com>
    Cc: Ian Campbell <ian.campbell@citrix.com>
    Cc: David Vrabel <david.vrabel@citrix.com>
    Acked-by: default avatarIan Campbell <ian.campbell@citrix.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    a3314f3d
netback.c 46.5 KB