1
0
Fork 0
alistair23-linux/drivers/net/ethernet/pensando/ionic
Shannon Nelson ac343efb57 ionic: check port ptr before use
[ Upstream commit 2bcbf42add ]

Check for corner case of port_init failure before using
the port_info pointer.

Fixes: 4d03e00a21 ("ionic: Add initial ethtool support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Link: https://lore.kernel.org/r/20201104195606.61184-1-snelson@pensando.io
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-10 12:37:25 +01:00
..
Makefile ionic: Add driver stats 2019-09-05 09:24:44 +02:00
ionic.h ionic: Add netdev-event handling 2019-09-05 09:24:44 +02:00
ionic_bus.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_bus_pci.c ionic: Add the basic NDO callbacks for netdev support 2019-09-05 09:24:43 +02:00
ionic_debugfs.c ionic: Remove unnecessary ternary operator in ionic_debugfs_add_ident 2019-09-19 16:56:50 -07:00
ionic_debugfs.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_dev.c ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_dev.h ionic: Add coalesce and other features 2019-09-05 09:24:44 +02:00
ionic_devlink.c ionic: Add the basic NDO callbacks for netdev support 2019-09-05 09:24:43 +02:00
ionic_devlink.h
ionic_ethtool.c ionic: check port ptr before use 2020-11-10 12:37:25 +01:00
ionic_ethtool.h ionic: Add initial ethtool support 2019-09-05 09:24:44 +02:00
ionic_if.h ionic: fix rxq comp packet type mask 2020-02-11 04:35:06 -08:00
ionic_lif.c ionic: update eid test for overflow 2020-08-19 08:16:04 +02:00
ionic_lif.h ionic: fix stats memory dereference 2019-10-07 09:41:56 -04:00
ionic_main.c dynamic_debug: provide dynamic_hex_dump stub 2019-10-22 12:54:44 -07:00
ionic_regs.h ionic: Add interrupts and doorbells 2019-09-05 09:24:43 +02:00
ionic_rx_filter.c ionic: fix up filter locks and debug msgs 2020-07-29 10:18:33 +02:00
ionic_rx_filter.h ionic: Add management of rx filters 2019-09-05 09:24:43 +02:00
ionic_stats.c ionic: fix stats memory dereference 2019-10-07 09:41:56 -04:00
ionic_stats.h ionic: Add driver stats 2019-09-05 09:24:44 +02:00
ionic_txrx.c ionic: Add coalesce and other features 2019-09-05 09:24:44 +02:00
ionic_txrx.h ionic: Add Tx and Rx handling 2019-09-05 09:24:44 +02:00