HomeFreeBSD

dummynet: dn_dequeue() may return NULL

Description

dummynet: dn_dequeue() may return NULL

If there are no more entries, or if we fail to restore the rcvif of a
queued mbuf dn_dequeue() can return NULL.
Cope with this.

Reviewed by: glebius
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D34078

Details

Provenance
kpAuthored on Jan 28 2022, 10:10 AM
Reviewer
glebius
Differential Revision
D34078: dummynet: dn_dequeue() may return NULL
Parents
rG703e533da5e2: mbuf: do not restore dying interfaces
Branches
Unknown
Tags
Unknown