vdpa: Enable strict validation for netlinks ops
authorDragos Tatulea <dtatulea@nvidia.com>
Thu, 27 Jul 2023 17:57:54 +0000 (20:57 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 10 Aug 2023 19:24:28 +0000 (15:24 -0400)
commitf46c1e1620c6bbc9aad5693082efd1b80822e97c
tree8287ba4abde862829009e27140cd94a0601a71a1
parent5d6ba607d6cb5c58a4ddf33381e18c83dbb4098f
vdpa: Enable strict validation for netlinks ops

The previous patches added the missing nla policies that were required for
validation to work.

Now strict validation on netlink ops can be enabled. This patch does it.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Cc: stable@vger.kernel.org
Message-Id: <20230727175757.73988-9-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c