net/qede/base: prevent stop vport assert by malicious VF
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:30:07 +0000 (18:30 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commitc1454460c406fe0a45ab22fb72806caa02ec7967
tree87f15dc7ad61d591a34d8eaef00e23fcb29f1365
parenta474d1c1e7e545990202d676b598f4214017cd4c
net/qede/base: prevent stop vport assert by malicious VF

PF checks upon stop-vport from VF whether it's legal, but if it's not it
would STILL send the request to FW, which might cause it to assert.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_sriov.c