freebsd-skq/sys/compat/linuxkpi/common
Slava Shwartsman 9c7b53cc65 linuxkpi: Fix for use-after-free when tearing down character devices.
Make sure we hold a reference on the character device for every opened file
to prevent the character device to be freed prematurely.

Submitted by:   hselasky@
Approved by:    hselasky (mentor)
MFC after:      1 week
Sponsored by:   Mellanox Technologies
2018-12-05 13:16:39 +00:00
..
include linuxkpi: Fix for use-after-free when tearing down character devices. 2018-12-05 13:16:39 +00:00
src linuxkpi: Fix for use-after-free when tearing down character devices. 2018-12-05 13:16:39 +00:00