diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 18:48:25 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 18:48:25 -0800 |
| commit | 75b566af5cc6f64f9ab5b66608ff8ce18098a2b4 (patch) | |
| tree | a7befb989f28ae984b376b72fe39d942bf18cefa /net/unix/garbage.c | |
| parent | ff31dc0b2b944b3d08c20d4d2a79e47345ac8b16 (diff) | |
v2.4.5.7 -> v2.4.5.8
- me: fix GFB_BUFFER thinkos. Make buffer syncing more efficient.
Make sure we don't leave buffers on the LOCKED list forever
- David Miller: networking and sparc updates
Diffstat (limited to 'net/unix/garbage.c')
| -rw-r--r-- | net/unix/garbage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c index bc89eef4ec52..5abf21e7a8dc 100644 --- a/net/unix/garbage.c +++ b/net/unix/garbage.c @@ -296,9 +296,6 @@ void unix_gc(void) * Here we are. Hitlist is filled. Die. */ - while ((skb=__skb_dequeue(&hitlist))!=NULL) { - kfree_skb(skb); - } - + __skb_queue_purge(&hitlist); up(&unix_gc_sem); } |
