[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023062715-eldercare-washed-3c29@gregkh>
Date: Tue, 27 Jun 2023 08:20:44 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Yuxiao Zhang <yuxiaozhang@...gle.com>
Cc: keescook@...omium.org, tony.luck@...el.com, gpiccoli@...lia.com,
linux-hardening@...r.kernel.org,
William Kennington <wak@...gle.com>,
linux-kernel@...r.kernel.org
Subject: Re: support pmsg record size larger than kmalloc limitation
On Mon, Jun 26, 2023 at 06:20:29PM -0700, Yuxiao Zhang wrote:
> @@ -730,7 +731,7 @@ static void decompress_record(struct pstore_record *record)
> return;
>
> /* Swap out compressed contents with decompressed contents. */
> - kfree(record->buf);
> + kvfree(record->buf);
> record->buf = unzipped;
> record->size = unzipped_len;
> record->compressed = false;
> @@ -783,7 +784,7 @@ void pstore_get_backend_records(struct pstore_info *psi,
Patch is corrupted and can not be applied at all, please fix up your
email client to not do this.
thanks,
greg k-h
Powered by blists - more mailing lists