Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161119
b: refs/heads/master
c: a4b7cfa
h: refs/heads/master
i:
  161117: b41295f
  161115: e2a5dba
  161111: 166867a
  161103: 1fa86e1
  161087: 9e9e5d6
v: v3
  • Loading branch information
Chris Leech authored and James Bottomley committed Sep 10, 2009
1 parent 56f356b commit 4260071
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05cc7390735c49357b9ae67bf97f1c1579547f5b
refs/heads/master: a4b7cfaee487caef913be978dce60896fe741268
8 changes: 6 additions & 2 deletions trunk/drivers/scsi/fcoe/libfcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,17 @@ static void fcoe_ctlr_reset_fcfs(struct fcoe_ctlr *fip)
*/
void fcoe_ctlr_destroy(struct fcoe_ctlr *fip)
{
flush_work(&fip->recv_work);
cancel_work_sync(&fip->recv_work);
spin_lock_bh(&fip->fip_recv_list.lock);
__skb_queue_purge(&fip->fip_recv_list);
spin_unlock_bh(&fip->fip_recv_list.lock);

spin_lock_bh(&fip->lock);
fip->state = FIP_ST_DISABLED;
fcoe_ctlr_reset_fcfs(fip);
spin_unlock_bh(&fip->lock);
del_timer_sync(&fip->timer);
flush_work(&fip->link_work);
cancel_work_sync(&fip->link_work);
}
EXPORT_SYMBOL(fcoe_ctlr_destroy);

Expand Down

0 comments on commit 4260071

Please sign in to comment.