DragonFlyBSD/src 169b6cesys/dev/drm/include/linux ww_mutex.h

drm/linux: Fix potential ww mutex induced panics

ww mutex locking functions can be called with a NULL ctx and were
happily setting both lock->acquired to non-zero and lock->ctx to
NULL, a combination which other parts of our ww mutex implementation
assume is not possible.

Obtained-from: OpenBSD
DeltaFile
+3-1sys/dev/drm/include/linux/ww_mutex.h
+3-11 files

UnifiedSplitRaw