summaryrefslogtreecommitdiffstats
path: root/net/sched/act_ctinfo.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2020-01-17 00:32:47 -0500
committerDavid S. Miller <davem@davemloft.net>2020-01-18 14:38:29 +0100
commitd061b2411d5f3d6272187ab734ce0640827fca13 (patch)
tree382730a0bc17f312dbe442ceee5445b8a71aad93 /net/sched/act_ctinfo.c
parent6fc7caa84e713f7627e171ab1e7c4b5be0dc9b3d (diff)
downloadlinux-d061b2411d5f3d6272187ab734ce0640827fca13.tar.bz2
bnxt_en: Do not treat DSN (Digital Serial Number) read failure as fatal.
DSN read can fail, for example on a kdump kernel without PCIe extended config space support. If DSN read fails, don't set the BNXT_FLAG_DSN_VALID flag and continue loading. Check the flag to see if the stored DSN is valid before using it. Only VF reps creation should fail without valid DSN. Fixes: 03213a996531 ("bnxt: move bp->switch_id initialization to PF probe") Reported-by: Marc Smith <msmith626@gmail.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_ctinfo.c')
0 files changed, 0 insertions, 0 deletions