Revision 2bcbf42add911ef63a6d90e92001dc2bcb053e68 authored by Shannon Nelson on 04 November 2020, 19:56:06 UTC, committed by Jakub Kicinski on 05 November 2020, 17:58:25 UTC
Check for corner case of port_init failure before using
the port_info pointer.

Fixes: 4d03e00a2140 ("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>
1 parent 2aaf09a
History
File Mode Size
api
bpf
lockdep
perf
subcmd
symbol
traceevent
argv_split.c -rw-r--r-- 1.7 KB
bitmap.c -rw-r--r-- 2.0 KB
ctype.c -rw-r--r-- 1.3 KB
find_bit.c -rw-r--r-- 3.0 KB
hweight.c -rw-r--r-- 1.8 KB
rbtree.c -rw-r--r-- 16.1 KB
str_error_r.c -rw-r--r-- 1.0 KB
string.c -rw-r--r-- 3.4 KB
vsprintf.c -rw-r--r-- 900 bytes
zalloc.c -rw-r--r-- 197 bytes

back to top