freebsd-dev/sys/dev/bxe
Scott Long dde1276e8e Don't jam the softc in the device_probe routine. The softc isn't owned by
the driver here, so it shouldn't be accessed, let alone written to.  Remove
the nearby debug line, it's the only thing that depended on the softc, and
it depended on it in a way that couldn't work in this part of the code.

This fixes some reports of use-after-free and system instability with
DEBUG_MEMGUARD enabled.

Submitted by:	Matthew Macy
MFC after:	3 days
2016-05-13 05:57:21 +00:00
..
57710_init_values.c Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
57710_int_offsets.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
57711_init_values.c Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
57711_int_offsets.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
57712_init_values.c Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
57712_int_offsets.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
bxe_dcb.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
bxe_debug.c Convert bxe(4) to use the driver API. 2014-06-02 18:54:45 +00:00
bxe_dump.h Add support for firmware dump (a.k.a grcdump) 2015-12-23 03:19:12 +00:00
bxe_elink.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
bxe_elink.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
bxe_ioctl.h Add support for Flash Update 2016-04-12 22:31:48 +00:00
bxe_stats.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
bxe_stats.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
bxe.c Don't jam the softc in the device_probe routine. The softc isn't owned by 2016-05-13 05:57:21 +00:00
bxe.h 1. modify fwdump (a.k.a grcdump) so that grcdump memory is allocated 2016-04-19 20:28:30 +00:00
ecore_fw_defs.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
ecore_hsi.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ecore_init_ops.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
ecore_init.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ecore_mfw_req.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
ecore_reg.h Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
ecore_sp.c Upgrade the firmware carried in driver and loaded during hardware 2016-02-25 22:44:00 +00:00
ecore_sp.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00