[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpWKTZTpkfS3tmarNNN64wtPdSutZSzymy+1XnN24__NPA@mail.gmail.com>
Date: Mon, 15 Jan 2018 21:49:01 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Jason Wang <jasowang@...hat.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Dmitry Vyukov <dvyukov@...gle.com>
Subject: Re: [Patch net v3] tun: fix a memory leak for tfile->tx_array
On Mon, Jan 15, 2018 at 9:46 PM, Jason Wang <jasowang@...hat.com> wrote:
>
>
> I think then you don't even need the memset trick since we are sure it has
> been implemented?
It doesn't look like sk_alloc() zero's the memory of tfile.
Powered by blists - more mailing lists