ia64/linux-2.6.18-xen.hg

changeset 573:e01b3a133ddc

Fix memory leak for copy-receiver of netfront.

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
Signed-off-by: Hirofumi Tsujimura <tsujimura.hirof@jp.fujitsu.com>
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 11 09:28:01 2008 +0100 (2008-06-11)
parents 5db911a71eac
children 32a80b65ddad
files drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/drivers/xen/netfront/netfront.c	Tue Jun 10 08:50:39 2008 +0100
     1.2 +++ b/drivers/xen/netfront/netfront.c	Wed Jun 11 09:28:01 2008 +0100
     1.3 @@ -1667,7 +1667,6 @@ static void netif_release_rx_bufs_copy(s
     1.4  		np->grant_rx_ref[i] = GRANT_INVALID_REF;
     1.5  		add_id_to_freelist(np->rx_skbs, i);
     1.6  
     1.7 -		skb_shinfo(skb)->nr_frags = 0;
     1.8  		dev_kfree_skb(skb);
     1.9  	}
    1.10