SCSI: fcoe: Fix preempt count leak in fcoe_filter_frames()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Nov 2011 19:52:01 +0000 (20:52 +0100)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 11 Jan 2012 17:24:49 +0000 (09:24 -0800)
commita5059ed60e37ce3c2f4a1bada2efabf58ab8eaeb
tree7680bd5912fdfe7ca86db34ba07131e36e97d01f
parent3a0fad2f4874c9b444152426b727e0fdc5325689
SCSI: fcoe: Fix preempt count leak in fcoe_filter_frames()

commit 7e1e7ead88dff75b11b86ee0d5232c4591be1326 upstream.

The error exit path leaks preempt count. Add the missing put_cpu().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Change-Id: I7533e9cb9ce687424e344cf07a815ffc08734825
Reviewed-on: http://git-master/r/74165
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/scsi/fcoe/fcoe.c