ia64/xen-unstable

changeset 10827:3c95a8ed22d0

[NET] front: Zero gso features/pad

Set unused gso features/pad values to zero for forward-compatibility.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
author kfraser@localhost.localdomain
date Thu Jul 27 13:32:29 2006 +0100 (2006-07-27)
parents 38943ca3c8cc
children 4782114d0713
files linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Thu Jul 27 13:19:28 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Thu Jul 27 13:32:29 2006 +0100
     1.3 @@ -788,6 +788,8 @@ static int network_start_xmit(struct sk_
     1.4  
     1.5  		gso->u.gso.size = skb_shinfo(skb)->gso_size;
     1.6  		gso->u.gso.type = XEN_NETIF_GSO_TYPE_TCPV4;
     1.7 +		gso->u.gso.pad = 0;
     1.8 +		gso->u.gso.features = 0;
     1.9  
    1.10  		gso->type = XEN_NETIF_EXTRA_TYPE_GSO;
    1.11  		gso->flags = 0;