lkml.org 
[lkml]   [1997]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: tcp_ack of sent skb's
Date
> What appears to happen is that the kfree_skb gets called
> which doesn't free the skb as it is locked. However, the
> pointer to the skb is lost (forever), and so it never frees.

The dev_kfree_skb() frees it when the packet finally gets off the
transmit queue. There is a pi/pt problem with those queues and they ought
to get removed one day

> Am I making sense?

Sort of - 2.1 does it a bit differently and somewhat more sanely. The
lock is gone - we just clone the buffer head knowing we know have a fast
memory allocator.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.035 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site