projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc5289
)
SGISEEQ: fix oops when doing ifconfig down; ifconfig up
author
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Sat, 12 Jan 2008 23:08:47 +0000
(
00:08
+0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:08:02 +0000
(15:08 -0800)
When doing init_ring checking whether a new skb needs to be allocated
was wrong.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sgiseeq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sgiseeq.c
b/drivers/net/sgiseeq.c
index c69bb8ba8b643e48819beffb33cf22221165d7fd..78994ede0cb0666945dc3d35e1061b1cc3cc8aee 100644
(file)
--- 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);