forked from Minki/linux
[SCSI] fcoe: remove a stray unlock
We moved the locking in dd060e74fb
"[SCSI] fcoe: remove frame dropping
code from fcoe_percpu_clean" but this unlock was missed.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
d227f029c2
commit
b3b8abd857
@ -2294,10 +2294,9 @@ static void fcoe_percpu_clean(struct fc_lport *lport)
|
||||
continue;
|
||||
|
||||
skb = dev_alloc_skb(0);
|
||||
if (!skb) {
|
||||
spin_unlock_bh(&pp->fcoe_rx_list.lock);
|
||||
if (!skb)
|
||||
continue;
|
||||
}
|
||||
|
||||
skb->destructor = fcoe_percpu_flush_done;
|
||||
|
||||
spin_lock_bh(&pp->fcoe_rx_list.lock);
|
||||
|
Loading…
Reference in New Issue
Block a user