[PATCH v3 0/4] vdpa: Enable strict validation for netlink ops

From: Dragos Tatulea
Date: Thu Jul 27 2023 - 13:58:23 EST


The original patch from Lin Ma enables the vdpa driver to use validation
netlink ops. The patch got split into 3 parts for easier backporting.

The last 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

v3:
- Split initial patch for easier backporting.
- Correctly marked patches for stable inclusion.

v2:
- cc'ed stable

Dragos Tatulea (1):
vdpa: Enable strict validation for netlinks ops

Lin Ma (3):
vdpa: Add features attr to vdpa_nl_policy for nlattr length check
vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check
vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check

drivers/vdpa/vdpa.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)

--
2.41.0