diff options
| author | Sean Young <sean@mess.org> | 2017-01-30 13:49:58 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-24 08:27:07 -0300 |
| commit | 74c839b2f5544fd77fdb34a99b577965d4812edf (patch) | |
| tree | c3eccff4c63588d72c16b31ba185e9dfb856fe0a /include/linux/errqueue.h | |
| parent | 069f3b10aed966b2da6bb1161af41da0e8880724 (diff) | |
| download | cachepc-linux-74c839b2f5544fd77fdb34a99b577965d4812edf.tar.gz cachepc-linux-74c839b2f5544fd77fdb34a99b577965d4812edf.zip | |
[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/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
