lkml.org 
[lkml]   [1996]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: oops in pre2.0.2
Robin Cutshaw (robin@intercore.COM) wrote:

: Just upgraded an SMP box to pre2.0.2 (compiled with SMP=1). Got this on
: boot:

: May 13 10:14:19 intrepid kernel: Unable to handle kernel NULL pointer dereference at virtual address c0000081
....
: May 13 10:14:19 intrepid kernel: Process ifconfig (pid: 64, process nr: 10, stackpage=01f55000)

This bug in new de4x5 driver bited me too.

Fix:

static struct sk_buff *
de4x5_alloc_rx_buff(struct device *dev, int index, int len)
{
...............
ret = lp->rx_skb[index];
lp->rx_skb[index] = p;
#ifndef NO_ANK_FIX
if (ret != (struct sk_buff *)1)
#endif
skb_put(ret, len);

return ret;


Alexey Kuznetsov.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.042 / U:3.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site