1
0
Fork 0
alistair23-linux/drivers/net/ethernet/pensando
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
..
ionic ionic: check port ptr before use 2020-11-10 12:37:25 +01:00
Kconfig ionic: select CONFIG_NET_DEVLINK 2019-10-01 09:24:05 -07:00
Makefile