Re: [PATCH 0/2] vdpa: Enable strict validation for netlink ops

From: Dragos Tatulea
Date: Wed Jul 26 2023 - 14:56:33 EST


On Wed, 2023-07-26 at 14:36 -0400, Michael S. Tsirkin wrote:
> On Wed, Jul 26, 2023 at 09:30:48PM +0300, Dragos Tatulea wrote:
> > The original patch from Lin Ma enables the vdpa driver to use validation
> > netlink ops.
> >
> > The second patch simply disables the validation skip which is no longer
> > neccesary. Patchset started of from this discussion [0].
> >
> > [0]
> > https://lore.kernel.org/virtualization/20230726074710-mutt-send-email-mst@xxxxxxxxxx/T/#t
>
> Cc stable with at least 1/2 ?
>
Sent a v2 with stable in cc. But looks like 1/2 breaks the "fix one thing only"
rule due to the many Fixes tags I guess...

> > Dragos Tatulea (1):
> >   vdpa: Enable strict validation for netlinks ops
> >
> > Lin Ma (1):
> >   vdpa: Complement vdpa_nl_policy for nlattr length check
> >
> >  drivers/vdpa/vdpa.c | 9 +++------
> >  1 file changed, 3 insertions(+), 6 deletions(-)
> >
> > --
> > 2.41.0
>