HomeFreeBSD

linuxkpi: Handle a NULL cache pointer in kmem_cache_destroy()

Description

linuxkpi: Handle a NULL cache pointer in kmem_cache_destroy()

This is compatible with Linux, and some driver error paths depend on it.

Reviewed by: bz, emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32337

Details

Provenance
markjAuthored on Oct 6 2021, 6:45 PM
Reviewer
bz
Differential Revision
D32337: linuxkpi: Handle NULL cache pointer in kmem_cache_destroy()
Parents
rGda3278ded3b2: ntp.conf.5: Fix typos
Branches
Unknown
Tags
Unknown