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
Sponsored by: The FreeBSD Foundation

(cherry picked from commit a76de17715ab689b0b53a1012e22d8a08470b6e4)

Details

Provenance
markjAuthored on Oct 6 2021, 6:45 PM
Parents
rG16dfe02e38b9: syslogd: Fix bug that caused -N to drop SecureMode if specified after -s
Branches
Unknown
Tags
Unknown