[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190612.134114.1226850504034942939.davem@davemloft.net>
Date: Wed, 12 Jun 2019 13:41:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: marcelo.leitner@...il.com, linux-sctp@...r.kernel.org,
netdev@...r.kernel.org,
syzbot+f7e9153b037eac9b1df8@...kaller.appspotmail.com,
lucien.xin@...il.com
Subject: Re: [PATCH v4 net] sctp: Free cookie before we memdup a new one
From: Neil Horman <nhorman@...driver.com>
Date: Wed, 12 Jun 2019 16:32:30 -0400
> On Wed, Jun 12, 2019 at 03:07:15PM -0300, Marcelo Ricardo Leitner wrote:
>> On Tue, Jun 11, 2019 at 08:38:14PM -0400, Neil Horman wrote:
>> > Based on comments from Xin, even after fixes for our recent syzbot
>> > report of cookie memory leaks, its possible to get a resend of an INIT
>> > chunk which would lead to us leaking cookie memory.
>> >
>> > To ensure that we don't leak cookie memory, free any previously
>> > allocated cookie first.
>> >
>> > ---
>>
>> This marker can't be here, as it causes git to loose everything below.
>>
> thats intentional so that, when Dave commits it, the change notes arent carried
> into the changelog (I.e. the change notes are useful for email review, but not
> especially useful in the permanent commit history).
1) I like the changelog notes to be included
2) Your signoff etc. was in that area too so would have been lost as well
Powered by blists - more mailing lists