summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-01-30 18:49:58 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-03-24 14:27:07 +0300
commit74c839b2f5544fd77fdb34a99b577965d4812edf (patch)
treec3eccff4c63588d72c16b31ba185e9dfb856fe0a /include/uapi/linux
parent069f3b10aed966b2da6bb1161af41da0e8880724 (diff)
downloadlinux-74c839b2f5544fd77fdb34a99b577965d4812edf.tar.xz
[media] lirc: use refcounting for lirc devices
If a lirc device is unplugged, the struct rc_dev is freed even though userspace can still have a file descriptor open on the lirc chardev. The rc_dev structure can be used in a subsequent, or even currently executing ioctl, read or write. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions