Re: [PATCH net] tcp: Initialize ca_priv when inheriting from listener

2020-07-08 Thread Christoph Paasch
On 07/07/20 - 21:51, Eric Dumazet wrote: > On Tue, Jul 7, 2020 at 9:43 PM Eric Dumazet wrote: > > > > > Could this be done instead in tcp_disconnect() ? > > > > Note this might need to extend one of the change done in commit 4d4d3d1e8807d6 > ("[TCP]: Congestion control initialization.") > > dif

Re: [PATCH net] tcp: Initialize ca_priv when inheriting from listener

2020-07-08 Thread Christoph Paasch
On 07/08/20 - 10:19, Christoph Paasch wrote: > On 07/07/20 - 21:51, Eric Dumazet wrote: > > On Tue, Jul 7, 2020 at 9:43 PM Eric Dumazet wrote: > > > > > > > > Could this be done instead in tcp_disconnect() ? > > > > > > > Note this might need to extend one of the change done in commit > > 4d4d3

Re: [PATCH net] tcp: Initialize ca_priv when inheriting from listener

2020-07-08 Thread Jakub Kicinski
On Tue, 07 Jul 2020 21:10:30 -0700 Christoph Paasch wrote: > Wei Wang fixed a part of these CDG-malloc issues with commit c12014440750 > ("tcp: memset ca_priv data to 0 properly"). > > This patch here fixes the listener-scenario by memsetting ca_priv to 0 > after its content has been inherited by