> The error exit path leaks preempt count. Add the missing put_cpu(). > > Signed-off-by: Thomas Gleixner <t...@linutronix.de> > > diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c > index cefbe44..f3f440c 100644 > --- a/drivers/scsi/fcoe/fcoe.c > +++ b/drivers/scsi/fcoe/fcoe.c > @@ -1624,6 +1624,7 @@ static inline int fcoe_filter_frames(struct > fc_lport *lport, > stats->InvalidCRCCount++; > if (stats->InvalidCRCCount < 5) > printk(KERN_WARNING "fcoe: dropping frame with CRC error\n"); > + put_cpu(); > return -EINVAL; > } Thanks,
Reviewed-by: Yi Zou <yi....@intel.com> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html _______________________________________________ devel mailing list devel@open-fcoe.org https://lists.open-fcoe.org/mailman/listinfo/devel