lkml.org 
[lkml]   [1998]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug in 2.1.89 include/net/sock.h?


On Sun, 22 Mar 1998, Bill Hawes wrote:
>
> But if you don't update the socket counters for cloned skb's, could you get a
> situation where the counter appears to be back to zero, but there's still a
> clone skb being processed? This could possibly lead to a socket being destroyed
> to early, as the memory counters determine when to delay destruction.
>
> So it seems that a clone skb should be counted for some non-zero amount, if not
> the full data size.

Good point. The use of wmem/rmem as a way of keeping track of all skb's is
probably bogus, but as it is Bill is entirely correct.

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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