HomeFreeBSD

iflib: Fix a NULL pointer deref

Description

iflib: Fix a NULL pointer deref

rxd_frag_to_sd() have pf_rv parameter as NULL with the current
code. This patch fixes the NULL pointer dereference in that
case thus avoiding a possible panic.

Submitted by: rajesh1.kumar at amd.com
Reviewed by: gallatin
Differential Revision: https://reviews.freebsd.org/D28115

Details

Provenance
gallatinAuthored on Jan 21 2021, 2:45 PM
Reviewer
gallatin
Differential Revision
D28115: Fix a NULL pointer reference in iflib
Parents
rG523d94dbeab5: x86: switch vdso TSC timecounter to RDTSCP on AMD Zen CPUs
Branches
Unknown
Tags
Unknown