Re: [PATCH] module/decompress: Fix error checking on zstd decompression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 01, 2023 at 02:23:31PM -0700, Lucas De Marchi wrote:
> While implementing support for in-kernel decompression in kmod,
> finit_module() was returning a very suspicious value:
> 
> 	finit_module(3, "", MODULE_INIT_COMPRESSED_FILE) = 18446744072717407296
> 
> It turns out the check for module_get_next_page() failing is wrong,
> and hence the decompression was not really taking place. Invert
> the condition to fix it.
> 
> Fixes: 169a58ad824d ("module/decompress: Support zstd in-kernel decompression")
> Cc: stable@xxxxxxxxxx
> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Cc: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>

Applied and pushed, will send a pull to Linus right away, thanks!

  Luis



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux