aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/thunderbolt.c
diff options
context:
space:
mode:
authorJan Sokolowski <jan.sokolowski@intel.com>2018-10-30 10:50:45 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-11-14 10:56:33 -0800
commitf5a7b21b243952d4d26a2c91a041d122c0306504 (patch)
treeb6c1c64f51e14e8d92e27ae2a1871f4962a7e666 /drivers/net/thunderbolt.c
parenti40e: Replace strncpy with strlcpy to ensure null termination (diff)
downloadlinux-dev-f5a7b21b243952d4d26a2c91a041d122c0306504.tar.xz
linux-dev-f5a7b21b243952d4d26a2c91a041d122c0306504.zip
i40e: Protect access to VF control methods
A scenario has been found in which simultaneous addition/removal and modification of VF's might cause unstable behaviour, up to and including kernel panics. Protect the methods that create/modify/destroy VF's by locking them behind an atomically set bit in PF status bitfield. Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/thunderbolt.c')
0 files changed, 0 insertions, 0 deletions