]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix the conditional for i40e_vc_validate_vqs_bitmaps
authorBrett Creeley <brett.creeley@intel.com>
Mon, 10 Feb 2020 18:59:18 +0000 (10:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2020 01:03:52 +0000 (17:03 -0800)
commit21c06536377799d2cd8f7e77417e47393f8870ce
treed14d086f76e9828676f850982ed1f1dd70716af3
parent34fad679dafecebb534f624770a094730e5b2c49
i40e: Fix the conditional for i40e_vc_validate_vqs_bitmaps

Commit 1ddf92798f0a ("i40e: Fix virtchnl_queue_select bitmap
validation") introduced a necessary change for verifying how queue
bitmaps from the iavf driver get validated. Unfortunately, the
conditional was reversed. Fix this.

Fixes: 1ddf92798f0a ("i40e: Fix virtchnl_queue_select bitmap validation")
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c