Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172141
b: refs/heads/master
c: 51bf6bb
h: refs/heads/master
i:
  172139: 93b5731
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed Dec 3, 2009
1 parent eebd098 commit f258730
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: cceea982ef78cf358b70f3412a6799f153211e14
refs/heads/master: 51bf6bb424c14bfd3590a0de03fbd07fc800435e
6 changes: 5 additions & 1 deletion trunk/drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -6263,15 +6263,19 @@ bnx2_reset_task(struct work_struct *work)
{
struct bnx2 *bp = container_of(work, struct bnx2, reset_task);

if (!netif_running(bp->dev))
rtnl_lock();
if (!netif_running(bp->dev)) {
rtnl_unlock();
return;
}

bnx2_netif_stop(bp);

bnx2_init_nic(bp, 1);

atomic_set(&bp->intr_sem, 1);
bnx2_netif_start(bp);
rtnl_unlock();
}

static void
Expand Down

0 comments on commit f258730

Please sign in to comment.