android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vasundhara Volam b832182903 bnxt_en: Invoke cancel_delayed_work_sync() for PFs also.
[ Upstream commit 631ce27a3006fc0b732bfd589c6df505f62eadd9 ]

As part of the commit b148bb238c02
("bnxt_en: Fix possible crash in bnxt_fw_reset_task()."),
cancel_delayed_work_sync() is called only for VFs to fix a possible
crash by cancelling any pending delayed work items. It was assumed
by mistake that the flush_workqueue() call on the PF would flush
delayed work items as well.

As flush_workqueue() does not cancel the delayed workqueue, extend
the fix for PFs. This fix will avoid the system crash, if there are
any pending delayed work items in fw_reset_task() during driver's
.remove() call.

Unify the workqueue cleanup logic for both PF and VF by calling
cancel_work_sync() and cancel_delayed_work_sync() directly in
bnxt_remove_one().

Fixes: b148bb238c02 ("bnxt_en: Fix possible crash in bnxt_fw_reset_task().")
Reviewed-by: Pavan Chebbi <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-11-01 12:01:04 +01:00
..
appletalk
arcnet
bonding bonding: set dev->needed_headroom in bond_setup_by_slave() 2020-10-14 10:33:03 +02:00
caif
can can: flexcan: flexcan_chip_stop(): add error handling and propagate error value 2020-10-29 09:58:05 +01:00
dsa net: dsa: rtl8366rb: Support all 4096 VLANs 2020-10-29 09:57:41 +01:00
ethernet bnxt_en: Invoke cancel_delayed_work_sync() for PFs also. 2020-11-01 12:01:04 +01:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Remove "unlikely" from netvsc_select_queue 2020-09-23 12:40:34 +02:00
ieee802154 ieee802154/adf7242: check status of adf7242_read_reg 2020-10-01 13:18:16 +02:00
ipvlan ipvlan: fix device features 2020-09-03 11:26:41 +02:00
netdevsim
phy mdio: fix mdio-thunder.c dependency & build error 2020-10-14 10:33:03 +02:00
plip
ppp
slip
team net: team: fix memory leak in __team_options_register 2020-10-14 10:33:02 +02:00
usb net: usb: qmi_wwan: add Cellient MPL200 card 2020-10-29 09:57:23 +01:00
vmxnet3 vmxnet3: use correct tcp hdr length when packet is encapsulated 2020-08-19 08:16:23 +02:00
wan net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup 2020-10-29 09:57:26 +01:00
wimax
wireless ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n() 2020-10-29 09:58:10 +01:00
xen-netback
dummy.c
eql.c
geneve.c geneve: add transport ports in route lookup for geneve 2020-09-26 18:03:11 +02:00
gtp.c gtp: fix an use-before-init in gtp_newlink() 2020-11-01 12:01:03 +01:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: avoid use-after-free in macsec_handle_frame() 2020-10-14 10:33:00 +02:00
macvlan.c macvlan: validate setting of multiple remote source MAC addresses 2020-09-03 11:27:00 +02:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c virtio-net: don't disable guest csum when disable LRO 2020-10-14 10:33:04 +02:00
vrf.c
vsockmon.c
vxlan.c Revert "vxlan: fix tos value before xmit" 2020-08-11 15:33:41 +02:00
xen-netfront.c xen-netfront: fix potential deadlock in xennet_remove() 2020-08-05 09:59:51 +02:00