linux-stable/drivers/net/ethernet
Or Gerlitz 31ac93386d net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it
The error flow of mlx5e_create_netdev calls the cleanup call
of the given profile without checking if it exists, fix that.

Currently the VF reps don't register that callback and we crash
if getting into error -- can be reproduced by the user doing ctrl^C
while attempting to change the sriov mode from legacy to switchdev.

Fixes: 26e59d8077 '(net/mlx5e: Implement mlx5e interface attach/detach callbacks')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Sabrina Dubroca <sdubroca@redhat.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2017-06-15 23:27:46 +03:00
..
3com
8390 net: ethernet: ax88796: don't call free_irq without request_irq first 2017-05-26 14:55:38 -04:00
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: ena: update ena driver to version 1.1.7 2017-06-11 16:36:47 -04:00
amd amd-xgbe: use PAGE_ALLOC_COSTLY_ORDER in xgbe_map_rx_buffer 2017-06-04 20:01:00 -04:00
apm
apple
aquantia net: aquantia: atlantic: remove declaration of hw_atl_utils_hw_set_power 2017-06-10 16:09:56 -04:00
arc
atheros net: atheros: atl2: don't return zero on failure path in atl2_probe() 2017-05-22 12:05:01 -04:00
aurora
broadcom bnx2x: Don't post statistics to malicious VFs 2017-06-10 16:02:55 -04:00
brocade
cadence
calxeda
cavium
chelsio net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
cirrus
cisco
davicom
dec
dlink
emulex be2net: Fix offload features for Q-in-Q packets 2017-05-24 16:27:14 -04:00
ezchip
faraday net: ethernet: faraday: To support device tree usage. 2017-05-18 10:10:44 -04:00
freescale Revert "net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272" 2017-06-10 16:44:28 -04:00
fujitsu
hisilicon
hp
i825xx
ibm net: emac: fix and unify emac_mdio functions 2017-06-08 10:47:21 -04:00
intel i40e: Fix a sleep-in-atomic bug 2017-06-14 23:45:22 -04:00
marvell net: mvpp2: use {get, put}_cpu() instead of smp_processor_id() 2017-06-10 18:22:55 -04:00
mediatek
mellanox net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it 2017-06-15 23:27:46 +03:00
micrel
microchip
moxa
myricom
natsemi
neterion
netronome
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qed: fix dump of context data 2017-06-13 13:32:58 -04:00
qualcomm net: qcom/emac: do not use hardware mdio automatic polling 2017-06-04 19:32:09 -04:00
rdc
realtek
renesas ravb: Fix use-after-free on ifconfig eth0 down 2017-06-06 16:02:22 -04:00
rocker
samsung
seeq
sfc sfc: revert changes to NIC revision numbers 2017-05-12 12:22:53 -04:00
sgi
silan
sis
smsc
stmicro stmmac: fix for hw timestamp of GMAC3 unit 2017-06-09 12:39:26 -04:00
sun ldmvsw: stop the clean timer at beginning of remove 2017-05-15 15:36:08 -04:00
synopsys
tehuti
ti net: netcp: fix check of requested timestamping filter 2017-05-15 15:21:03 -04:00
tile
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c net: ethoc: enable NAPI before poll may be scheduled 2017-06-06 16:22:51 -04:00
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c