diff options
author | Jacob Keller <[email protected]> | 2015-08-24 17:27:24 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2015-11-23 11:08:47 -0800 |
commit | 1340181fe435ccb8ca2f996b8680bd9566860619 (patch) | |
tree | 71d8e89c364d57e289b0b819e22b2f5464ba2b17 /net/unix/af_unix.c | |
parent | 3d40e44361eab3dd6c969241d12dac7466eb7174 (diff) |
fm10k: do not assume VF always has 1 queue
It is possible that the PF has not yet assigned resources to the VF.
Although rare, this could result in the VF attempting to read queues it
does not own and result in FUM or THI faults in the PF. To prevent this,
check queue 0 before we continue in init_hw_vf.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions