[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Fix memory leak for copy-receiver of netfront.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213172881 -3600
# Node ID e01b3a133ddc88d280d593f12a60e8def46ae86a
# Parent  5db911a71eac6b0b19e74398f0750ce12fb1b94b
Fix memory leak for copy-receiver of netfront.

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
Signed-off-by: Hirofumi Tsujimura <tsujimura.hirof@xxxxxxxxxxxxxx>
Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>
---
 drivers/xen/netfront/netfront.c |    1 -
 1 files changed, 1 deletion(-)

diff -r 5db911a71eac -r e01b3a133ddc drivers/xen/netfront/netfront.c
--- a/drivers/xen/netfront/netfront.c   Tue Jun 10 08:50:39 2008 +0100
+++ b/drivers/xen/netfront/netfront.c   Wed Jun 11 09:28:01 2008 +0100
@@ -1667,7 +1667,6 @@ static void netif_release_rx_bufs_copy(s
                np->grant_rx_ref[i] = GRANT_INVALID_REF;
                add_id_to_freelist(np->rx_skbs, i);
 
-               skb_shinfo(skb)->nr_frags = 0;
                dev_kfree_skb(skb);
        }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.