]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: missing input validation on VF message handling by the PF
authorMartyna Szapar <martyna.szapar@intel.com>
Fri, 29 Mar 2019 22:08:39 +0000 (15:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 May 2019 00:28:04 +0000 (17:28 -0700)
commitff271dde3cd94c668419c12938464fdb4de66b1a
treed89ede44c9c321d4dd97454b5cecf9613f228e18
parentcc1846da9d362eb7c36d5aa37359db9510e8ef6b
i40e: missing input validation on VF message handling by the PF

Patch is adding missing input validation on VF message handling
by the PF to the functions with opcodes:
VIRTCHNL_OP_CONFIG_VSI_QUEUES = 6
VIRTCHNL_OP_CONFIG_IRQ_MAP = 7,
VIRTCHNL_OP_DISABLE_QUEUES = 9,
VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE = 14,

Signed-off-by: Martyna Szapar <martyna.szapar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h