linux-stable/drivers/net/ethernet
Govindarajulu Varadarajan dfa5c4bf8c enic: do not call enic_change_mtu in enic_probe
[ Upstream commit cb5c656886 ]

In commit ab123fe071 ("enic: handle mtu change for vf properly")
ASSERT_RTNL() is added to _enic_change_mtu() to prevent it from being
called without rtnl held. enic_probe() calls enic_change_mtu()
without rtnl held. At this point netdev is not registered yet.
Remove call to enic_change_mtu and assign the mtu to netdev->mtu.

Fixes: ab123fe071 ("enic: handle mtu change for vf properly")
Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:26:31 +02:00
..
3com net: prevent ISA drivers from building on PPC32 2018-09-05 09:26:28 +02:00
8390 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adaptec
adi net: ethernet: make ptp_clock_info const 2017-08-22 11:04:51 -07:00
aeroflex License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
agere
alacritech License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
allwinner
alteon License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
altera
amazon net: ena: Fix use of uninitialized DMA address bits field 2018-08-03 07:50:44 +02:00
amd net: prevent ISA drivers from building on PPC32 2018-09-05 09:26:28 +02:00
apm drivers: net: xgene: Remove return statement from void function 2017-09-05 14:58:25 -07:00
apple
aquantia net: aquantia: Fix IFF_ALLMULTI flag functionality 2018-08-22 07:46:09 +02:00
arc net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred 2018-03-31 18:10:41 +02:00
atheros atl1c: reserve min skb headroom 2018-09-05 09:26:28 +02:00
aurora License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
broadcom bnx2x: Fix invalid memory access in rss hash config path. 2018-09-05 09:26:28 +02:00
brocade
cadence net: macb: Fix ptp time adjustment for large negative delta 2018-07-22 14:28:44 +02:00
calxeda
cavium octeon_mgmt: Fix MIX registers configuration on MTU setup 2018-08-24 13:09:18 +02:00
chelsio cxgb4: when disabling dcb set txq dcb priority to 0 2018-08-24 13:09:05 +02:00
cirrus net: prevent ISA drivers from building on PPC32 2018-09-05 09:26:28 +02:00
cisco enic: do not call enic_change_mtu in enic_probe 2018-09-05 09:26:31 +02:00
davicom License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dec License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dlink
emulex be2net: Fix error detection logic for BE3 2018-06-11 22:49:18 +02:00
ezchip
faraday Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
freescale dpaa_eth: DPAA SGT needs to be 256B 2018-08-24 13:09:10 +02:00
fujitsu
hisilicon net: hns3: Fixes the out of bounds access in hclge_map_tqp 2018-08-03 07:50:38 +02:00
hp net: hp100: constify eisa_device_id 2017-08-19 17:13:41 -07:00
huawei hinic: Link the logical network device to the pci device in sysfs 2018-09-05 09:26:30 +02:00
i825xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ibm ibmvnic: Fix error recovery on login failure 2018-08-24 13:09:18 +02:00
intel ixgbe: Be more careful when modifying MAC filters 2018-08-24 13:09:16 +02:00
marvell net: mvneta: fix the Rx desc DMA address in the Rx path 2018-07-22 14:28:46 +02:00
mediatek net: mediatek: setup proper state for disabled GMAC on the default 2018-03-03 10:24:26 +01:00
mellanox net/mlx5: E-Switch, Disallow vlan/spoofcheck setup if not being esw manager 2018-08-24 13:09:07 +02:00
micrel License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
microchip License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
moxa
myricom License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
natsemi net/sonic: Use dma_mapping_error() 2018-07-08 15:30:53 +02:00
neterion
netronome nfp: flower: fix port metadata conversion bug 2018-09-05 09:26:30 +02:00
nuvoton w90p910_ether: include linux/interrupt.h 2017-09-12 20:59:19 -07:00
nvidia forcedeth: replace init_timer_deferrable with setup_deferrable_timer 2017-08-11 14:25:35 -07:00
nxp
oki-semi
packetengines
pasemi
qlogic qed: Correct Multicast API to reflect existence of 256 approximate buckets. 2018-09-05 09:26:28 +02:00
qualcomm net: qca_spi: Fix log level if probe fails 2018-08-24 13:09:19 +02:00
rdc
realtek r8169: fix powering up RTL8168h 2018-05-19 10:20:25 +02:00
renesas ravb: fix invalid context bug while changing link options by ethtool 2018-08-24 13:09:13 +02:00
rocker rocker: fix possible null pointer dereference in rocker_router_fib_event_work 2018-02-13 10:19:48 +01:00
samsung net: sxgbe: check memory allocation failure 2017-08-25 20:07:07 -07:00
seeq License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sfc sfc: pass valid pointers from efx_enqueue_unwind 2018-01-02 20:31:10 +01:00
sgi
silan
sis License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smsc net: smsc911x: Fix unload crash when link is up 2018-05-30 07:52:13 +02:00
stmicro net: stmmac: socfpga: add additional ocp reset line for Stratix10 2018-08-24 13:09:02 +02:00
sun net: sungem: fix rx checksum support 2018-07-22 14:28:46 +02:00
synopsys License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tehuti
ti net: davinci_emac: match the mdio device against its compatible if possible 2018-08-24 13:09:03 +02:00
tile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
toshiba License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tundra
via dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
wiznet
xilinx net: axienet: Fix double deregister of mdio 2018-09-05 09:26:29 +02:00
xircom ethernet: xircom: small clean up in setup_xirc2ps_cs() 2017-08-22 10:30:00 -07:00
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c fealnx: Fix building error on MIPS 2017-11-24 08:37:03 +01:00
jme.c
jme.h
Kconfig net-next/hinic: Initialize hw interface 2017-08-22 10:48:52 -07:00
korina.c
lantiq_etop.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
netx-eth.c