Re: Re: memory leak related to bridging, conntrack and frags in 2.6.0

Steve Hill <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
On Sun, 14 Dec 2003, Bart De Schuymer wrote:

> I believe they are freed in skbuff.c::skb_release_data().

I've just had a look there - skb_release_data() appears to call 
skb_drop_fraglist(), which calls kfree_skb() for each fragment, so this is 
already correct (kfree_skb() calls nf_bridge_put() correctly).  Maybe 
something has wiped out the pointer for some reason before it gets there?

I'm going to post the patch to the netdev list anyway and see if anyone 
there has any ideas...

Thanks.

-- 

- Steve Hill
Senior Software Developer                        Email: [email protected]
Navaho Technologies Ltd.                           Tel: +44-870-7034015

        ... Alcohol and calculus don't mix - Don't drink and derive! ...





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.