ia64/xen-unstable

changeset 10090:119ec4117708

[NET] front: The receive buffer accounting should be unsigned to avoid
range comparison issues.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
author kaf24@firebug.cl.cam.ac.uk
date Thu May 18 10:05:32 2006 +0100 (2006-05-18)
parents 898426a79d5a
children 65421cc6d86b
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 May 18 10:04:26 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Thu May 18 10:05:32 2006 +0100
     1.3 @@ -100,7 +100,7 @@ struct netfront_info {
     1.4  #define RX_MIN_TARGET 8
     1.5  #define RX_DFL_MIN_TARGET 64
     1.6  #define RX_MAX_TARGET min_t(int, NET_RX_RING_SIZE, 256)
     1.7 -	int rx_min_target, rx_max_target, rx_target;
     1.8 +	unsigned rx_min_target, rx_max_target, rx_target;
     1.9  	struct sk_buff_head rx_batch;
    1.10  
    1.11  	struct timer_list rx_refill_timer;