Re: [PATCH] spidernet : fix memory leak in spider_net_stop

2007-02-07 Thread Ishizaki Kou
Jeff-san, > Jens Osterkamp wrote: > > We forget to call spider_net_free_rx_chain_contents which does the > > actual dev_kfree_skb. New skbs are allocated from skbuff_head_cache > > on each "ifconfig up" letting the cache grow infinitely. > > > > This patch fixes it. > > > > Signed-off-by: Jens O

Re: [PATCH] spidernet : fix memory leak in spider_net_stop

2007-02-02 Thread Jeff Garzik
Jens Osterkamp wrote: We forget to call spider_net_free_rx_chain_contents which does the actual dev_kfree_skb. New skbs are allocated from skbuff_head_cache on each "ifconfig up" letting the cache grow infinitely. This patch fixes it. Signed-off-by: Jens Osterkamp <[EMAIL PROTECTED]> applied

Re: [PATCH] spidernet : fix memory leak in spider_net_stop

2007-02-01 Thread Jens Osterkamp
On Thursday 01 February 2007 6:36 pm, Linas Vepstas wrote: > > A variant of this patch is queued up for 2.6.21, > as a part of the patch > http://www.mail-archive.com/netdev@vger.kernel.org/msg28213.html > > I beleive its in the -mm tree, I have not checked. Ah, good ! I knew that you had severa

Re: [PATCH] spidernet : fix memory leak in spider_net_stop

2007-02-01 Thread Linas Vepstas
A variant of this patch is queued up for 2.6.21, as a part of the patch http://www.mail-archive.com/netdev@vger.kernel.org/msg28213.html I beleive its in the -mm tree, I have not checked. --linas On Thu, Feb 01, 2007 at 12:07:47PM +0100, Jens Osterkamp wrote: > > We forget to call spider_net_f

[PATCH] spidernet : fix memory leak in spider_net_stop

2007-02-01 Thread Jens Osterkamp
We forget to call spider_net_free_rx_chain_contents which does the actual dev_kfree_skb. New skbs are allocated from skbuff_head_cache on each "ifconfig up" letting the cache grow infinitely. This patch fixes it. Signed-off-by: Jens Osterkamp <[EMAIL PROTECTED]> Index: linux-2.6.20-rc6/drivers/