Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129800
b: refs/heads/master
c: beb0bab
h: refs/heads/master
v: v3
  • Loading branch information
Phil Sutter authored and David S. Miller committed Jan 15, 2009
1 parent b64147a commit 745d407
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a13b27826a67bfc0ca444fb42885f2069b6898e2
refs/heads/master: beb0babfb77eab0cbcc7f64a7b8f3545fec5c0ba
4 changes: 4 additions & 0 deletions trunk/drivers/net/korina.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,8 @@ static int korina_restart(struct net_device *dev)

korina_free_ring(dev);

napi_disable(&lp->napi);

ret = korina_init(dev);
if (ret < 0) {
printk(KERN_ERR DRV_NAME "%s: cannot restart device\n",
Expand Down Expand Up @@ -1070,6 +1072,8 @@ static int korina_close(struct net_device *dev)

korina_free_ring(dev);

napi_disable(&lp->napi);

free_irq(lp->rx_irq, dev);
free_irq(lp->tx_irq, dev);
free_irq(lp->ovr_irq, dev);
Expand Down

0 comments on commit 745d407

Please sign in to comment.