Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451708 > unrolled thread

[patch-rt] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in fcoe_recv_frame()

Started byMike Galbraith <umgwanakikbuti@gmail.com>
First post2016-07-28 06:10 +0200
Last post2016-07-29 17:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [patch-rt] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in  fcoe_recv_frame() Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-07-28 06:10 +0200
    Re: [patch-rt] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in  fcoe_recv_frame() Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-07-29 17:50 +0200

#1451708 — [patch-rt] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in fcoe_recv_frame()

FromMike Galbraith <umgwanakikbuti@gmail.com>
Date2016-07-28 06:10 +0200
Subject[patch-rt] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in fcoe_recv_frame()
Message-ID<rZKNX-U2-1@gated-at.bofh.it>
During master->rt merge, I stumbled across the buglet below.

Fix get_cpu()/put_cpu_light() imbalance.

Signed-off-by: Mike Gabraith <umgwanakikbuti@gmail.com>
---
 drivers/scsi/fcoe/fcoe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -1814,7 +1814,7 @@ static void fcoe_recv_frame(struct sk_bu
 	 */
 	hp = (struct fcoe_hdr *) skb_network_header(skb);
 
-	stats = per_cpu_ptr(lport->stats, get_cpu());
+	stats = per_cpu_ptr(lport->stats, get_cpu_light());
 	if (unlikely(FC_FCOE_DECAPS_VER(hp) != FC_FCOE_VER)) {
 		if (stats->ErrorFrames < 5)
 			printk(KERN_WARNING "fcoe: FCoE version "

[toc] | [next] | [standalone]


#1452454

FromSebastian Andrzej Siewior <bigeasy@linutronix.de>
Date2016-07-29 17:50 +0200
Message-ID<s0icV-6y2-3@gated-at.bofh.it>
In reply to#1451708
* Mike Galbraith | 2016-07-28 06:04:49 [+0200]:

>During master->rt merge, I stumbled across the buglet below.
>
>Fix get_cpu()/put_cpu_light() imbalance.
applied.

>Signed-off-by: Mike Gabraith <umgwanakikbuti@gmail.com>

Sebastian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web