[IA64] correct file descriptor reference counting in perfmon (CVE-2006-3741)
authorStephane Eranian <eranian@hpl.hp.com>
Tue, 17 Oct 2006 12:50:56 +0000 (14:50 +0200)
committerAdrian Bunk <bunk@stusta.de>
Tue, 17 Oct 2006 12:50:56 +0000 (14:50 +0200)
commit61dd5c3368db90edf32a5ceb4dde76cc18f34009
tree0914b29b7cbe8dc2c1d833ca8e9dc954cea527b3
parent08f8337b2930f9b0924e6c0e362b11f7216766c0
[IA64] correct file descriptor reference counting in perfmon (CVE-2006-3741)

Fix a bug in sys_perfmonctl() whereby it was not correctly
decrementing the file descriptor reference count.

Signed-off-by: Stephane Eranian <eranian@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
arch/ia64/kernel/perfmon.c