linux/drivers/net
Michael Chan b148bb238c bnxt_en: Fix possible crash in bnxt_fw_reset_task().
bnxt_fw_reset_task() is run from a delayed workqueue.  The current
code is not cancelling the workqueue in the driver's .remove()
method and it can potentially crash if the device is removed with
the workqueue still pending.

The fix is to clear the BNXT_STATE_IN_FW_RESET flag and then cancel
the delayed workqueue in bnxt_remove_one().  bnxt_queue_fw_reset_work()
also needs to check that this flag is set before scheduling.  This
will guarantee that no rescheduling will be done after it is cancelled.

Fixes: 230d1f0de7 ("bnxt_en: Handle firmware reset.")
Reviewed-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-26 07:19:03 -07:00
..
appletalk
arcnet
bonding bonding: fix active-backup failover for current ARP slave 2020-08-18 15:57:47 -07:00
caif
can
dsa net: dsa: mt7530: Add of_node_put() before break and return statements 2020-08-25 07:44:41 -07:00
ethernet bnxt_en: Fix possible crash in bnxt_fw_reset_task(). 2020-08-26 07:19:03 -07:00
fddi net: fddi: skfp: cfm: Remove seemingly unused variable 'ID_sccs' 2020-08-14 20:42:25 -07:00
fjes
hamradio
hippi
hyperv hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit() 2020-08-20 16:24:00 -07:00
ieee802154
ipa remoteproc updates for v5.9 2020-08-11 11:17:45 -07:00
ipvlan ipvlan: fix device features 2020-08-16 15:15:00 -07:00
netdevsim Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-08-03 18:27:40 -07:00
phy net: dp83869: Fix RGMII internal delay configuration 2020-08-26 07:13:28 -07:00
plip
ppp mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
slip
team
usb r8152: Use MAC address from correct device tree node 2020-08-07 17:13:52 -07:00
vmxnet3 vmxnet3: use correct tcp hdr length when packet is encapsulated 2020-08-10 12:09:38 -07:00
wan drivers/net/wan/lapbether: Added needed_tailroom 2020-08-24 16:09:33 -07:00
wimax
wireguard mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
wireless rtl818x: constify ioreadX() iomem argument (as in generic implementation) 2020-08-14 19:56:57 -07:00
xen-netback
bareudp.c tunnels: PMTU discovery support for directly bridged IP packets 2020-08-04 13:01:45 -07:00
dummy.c
eql.c
geneve.c geneve: Support for PMTU discovery on directly bridged links 2020-08-04 13:01:45 -07:00
gtp.c gtp: add GTPA_LINK info to msg sent to userspace 2020-08-25 06:28:53 -07:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c macvlan: validate setting of multiple remote source MAC addresses 2020-08-18 12:33:43 -07: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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-08-03 18:27:40 -07:00
veth.c
virtio_net.c virtio: fixes, features 2020-08-11 14:34:17 -07:00
vrf.c
vsockmon.c
vxlan.c Revert "vxlan: fix tos value before xmit" 2020-08-05 12:09:10 -07:00
xen-netfront.c