https://github.com/torvalds/linux
Revision 4eea37d7b92076fdeac2a21e5f4dbd92d286719d authored by Or Gerlitz on 18 September 2016, 15:20:28 UTC, committed by David S. Miller on 20 September 2016, 02:10:15 UTC
When enablement of the SRIOV e-switch in certain mode (switchdev or legacy)
fails, we must set the mode to none. Otherwise, we'll run into double free
based crashes when further attempting to deal with the e-switch (such
as when disabling sriov or unloading the driver).

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent babd613
History
Tip revision: 4eea37d7b92076fdeac2a21e5f4dbd92d286719d authored by Or Gerlitz on 18 September 2016, 15:20:28 UTC
net/mlx5: E-Switch, Fix error flow in the SRIOV e-switch init code
Tip revision: 4eea37d
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 7.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.5 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 363.6 KB
Makefile -rw-r--r-- 56.8 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top