2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00
linux-next/drivers/media/dvb
Trent Piepho 5e85bd057f V4L/DVB (3672): Fix memory leak in dvr open
The dvr device could be opened multiple times simultaneously in O_RDONLY mode.
Each open after the first would allocate a new dvr buffer (1880 KB) and leak
the old buffer.  The first close would de-allocate the dvr buffer and cause
all other open dvrs to stop working.  This patch allows only a single O_RDONLY
open of the drv device, as per the API specification.  Multiple O_WRONLY opens
are still allowed and don't appear to cause any problems.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-02 04:56:01 -03:00
..
b2c2 V4L/DVB (3549): Make hotplug automatically load the b2c2-flexcop-usb module 2006-03-24 16:26:51 -03:00
bt8xx V4L/DVB (3616): Bt8xx: select FW_LOADER 2006-04-02 04:55:07 -03:00
cinergyT2 V4L/DVB (3506): Cinergy T2 dmx cleanup on disconnect 2006-03-21 08:53:34 -08:00
dvb-core V4L/DVB (3672): Fix memory leak in dvr open 2006-04-02 04:56:01 -03:00
dvb-usb V4L/DVB (3655): Support for a new revision of the WT220U-stick 2006-04-02 04:55:40 -03:00
frontends V4L/DVB (3657): Kconfig: Add firmware download comments for or51211 and or51132 2006-04-02 04:55:41 -03:00
pluto2 V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
ttpci V4L/DVB (3671): New module parameter 'tv_standard' (dvb-ttpci driver) 2006-04-02 04:55:59 -03:00
ttusb-budget V4L/DVB (3485): BUG_ON() Conversion in drivers/video/media 2006-03-21 08:53:19 -08:00
ttusb-dec V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
Kconfig [PATCH] dvb: add Pluto2 driver 2005-07-07 18:23:55 -07:00
Makefile [PATCH] dvb: add Pluto2 driver 2005-07-07 18:23:55 -07:00