Re: [PATCH] drbd: Use struct_group() to zero algs

From: Jens Axboe
Date: Mon Dec 13 2021 - 18:32:53 EST


On Thu, 18 Nov 2021 12:37:12 -0800, Kees Cook wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memset(), avoid intentionally writing across
> neighboring fields.
>
> Add a struct_group() for the algs so that memset() can correctly reason
> about the size.
>
> [...]

Applied, thanks!

[1/1] drbd: Use struct_group() to zero algs
commit: 52a0cab35c568f896067641d8e07f798341954f5

Best regards,
--
Jens Axboe