From: Jacek Konieczny Subject: Re: netfront: rx->offset: 12, size: 4294967295 Date: Mon, 4 Jun 2007 16:05:22 +0200 Message-ID: <20070604140522.GF2158@jajo.eggsoft.pl> References: <20070604124040.GC2158@jajo.eggsoft.pl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 04, 2007 at 01:52:30PM +0100, Keir Fraser wrote: > Can you try changing the definition of copying_receiver in netback/common.h > to be 'unsigned copying_receiver:1' instead of int:1? It works! See the attached patch (I have changed the other bitfield too). Thank you very much. Greets, Jacek --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xen-netback.patch" diff -dur -x '*~' linux-2.6.18.orig/drivers/xen/netback/common.h linux-2.6.18/drivers/xen/netback/common.h --- linux-2.6.18.orig/drivers/xen/netback/common.h 2007-06-04 12:48:35.000000000 +0000 +++ linux-2.6.18/drivers/xen/netback/common.h 2007-06-04 12:52:16.000000000 +0000 @@ -78,8 +78,8 @@ int features; /* Internal feature information. */ - int can_queue:1; /* can queue packets for receiver? */ - int copying_receiver:1; /* copy packets to receiver? */ + unsigned can_queue:1; /* can queue packets for receiver? */ + unsigned copying_receiver:1; /* copy packets to receiver? */ /* Allow netif_be_start_xmit() to peek ahead in the rx request ring. */ RING_IDX rx_req_cons_peek; --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --cNdxnHkX5QqsyA0e--