| To: | netdev@vger.kernel.org, linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] SGISEEQ: fix oops when doing ifconfig down; ifconfig up |
| From: | Thomas Bogendoerfer <tsbogend@alpha.franken.de> |
| Date: | Sun, 13 Jan 2008 00:08:47 +0100 (CET) |
| Cc: | ralf@linux-mips.org, jgarzik@pobox.com |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
When doing init_ring checking whether a new skb needs to be allocated
was wrong.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
This is a bug fix for the 2.6.25 driver.
drivers/net/sgiseeq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c
index c69bb8b..78994ed 100644
--- a/drivers/net/sgiseeq.c
+++ b/drivers/net/sgiseeq.c
@@ -193,7 +193,7 @@ static int seeq_init_ring(struct net_device *dev)
/* And now the rx ring. */
for (i = 0; i < SEEQ_RX_BUFFERS; i++) {
- if (!sp->rx_desc[i].rdma.pbuf) {
+ if (!sp->rx_desc[i].skb) {
dma_addr_t dma_addr;
struct sk_buff *skb = netdev_alloc_skb(dev, PKT_BUF_SZ);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] IP28 fixes, Thomas Bogendoerfer |
|---|---|
| Next by Date: | [PATCH] I8042: SNI RM support, Thomas Bogendoerfer |
| Previous by Thread: | [PATCH] IP28 fixes, Thomas Bogendoerfer |
| Next by Thread: | Re: [PATCH] SGISEEQ: fix oops when doing ifconfig down; ifconfig up, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |