Subject: Re: [PATCH 7/7] net: Batch inet_twsk_purge

From: [email-masked] (Eric W. Biederman)
Date: Thu, 03 Dec 2009 12:45:14 -0800

David Miller <[email-masked]> writes:

> From: [email-masked] (Eric W. Biederman)
> Date: Thu, 03 Dec 2009 05:36:52 -0800
>
>> I think dccp may also need a inet_twsk_purge as well, but I couldn't
>> figure out what it was doing with timewait sockets.
>
> DCCP doesn't have time-wait sockets, it's more like UDP than TCP.

There is net/dccp/minisocks.c:dccp_time_wait that calls
inet_twsk_alloc().

So dccp is doing something with timewait sockets.

Eric