On 12/17/2018 07:49 AM, Christoph Paasch wrote: > It gets called from tcp_fastopen_destroy_cipher() though (to destroy the > socket's TFO-keys when the socket gets closed). There it has to destroy the > whole list. > > Same when going through exit_batch for the namespace. > > > We could of course split it in tcp_fastopen_ctx_free_one() and > tcp_fastopen_ctx_free_all(). But maybe that's overkill as it's a rare thing > to do? No, this is fine, please see my second review of this first patch. Thanks.
- [PATCH net-next 0/5] tcp: Introduce a TFO key-pool for cl... Christoph Paasch
- [PATCH net-next 5/5] tcp: TFO - cleanup code duplica... Christoph Paasch
- Re: [PATCH net-next 5/5] tcp: TFO - cleanup code... Eric Dumazet
- [PATCH net-next 3/5] tcp: Print list of TFO-keys fro... Christoph Paasch
- Re: [PATCH net-next 3/5] tcp: Print list of TFO-... Eric Dumazet
- Re: [PATCH net-next 3/5] tcp: Print list of ... Yuchung Cheng
- [PATCH net-next 1/5] tcp: Create list of TFO-context... Christoph Paasch
- Re: [PATCH net-next 1/5] tcp: Create list of TFO... Eric Dumazet
- Re: [PATCH net-next 1/5] tcp: Create list of... Christoph Paasch
- Re: [PATCH net-next 1/5] tcp: Create lis... Eric Dumazet
- Re: [PATCH net-next 1/5] tcp: Create list of TFO... Eric Dumazet
- Re: [PATCH net-next 1/5] tcp: Create list of... Christoph Paasch
- Re: [PATCH net-next 1/5] tcp: Create lis... Eric Dumazet
- Re: [PATCH net-next 1/5] tcp: Creat... Christoph Paasch
- [PATCH net-next 4/5] tcp: Allow getsockopt of listen... Christoph Paasch
- [PATCH net-next 2/5] tcp: TFO: search for correct co... Christoph Paasch
- Re: [PATCH net-next 2/5] tcp: TFO: search for co... Eric Dumazet
- Re: [PATCH net-next 2/5] tcp: TFO: search fo... Christoph Paasch
- Re: [PATCH net-next 0/5] tcp: Introduce a TFO key-po... David Miller
- Re: [PATCH net-next 0/5] tcp: Introduce a TFO ke... Eric Dumazet