Hello! > such sock_put function. All the other functions r there. Can you give some > idea for 2.2.x type of kernel? This is good question. In 2.2 each TCP socket finishes its life in net/ipv4/timer.c. Each TCP_DONE_TIME this timer checks that socket is closed, and as soon as timer finds it closed, destroy_sock() is called. It is still not the end. Until socket buffers are drained, destroy is retried each SOCK_DESTROY_TIME and finally dies in: destroy_sock() kill_sk_now() sk_free(sk) Alexey - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org