[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201004291350.08620.nuclearcat@nuclearcat.com>
Date: Thu, 29 Apr 2010 13:50:08 +0300
From: Denys Fedorysychenko <nuclearcat@...learcat.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>, krkumar2@...ibm.com,
netdev@...r.kernel.org
Subject: Re: NULL pointer dereference panic in stable (2.6.33.2), amd64
On Thursday 15 April 2010 13:37:10 Eric Dumazet wrote:
> Le jeudi 15 avril 2010 à 12:11 +0300, Denys Fedorysychenko a écrit :
> > Btw i have application using tun.
>
> Could you add following sanity test to catch the error ?
>
> diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
> index fa8b476..b67274a 100644
> --- a/include/linux/netdevice.h
> +++ b/include/linux/netdevice.h
> @@ -988,6 +988,7 @@ static inline
> struct netdev_queue *netdev_get_tx_queue(const struct net_device *dev,
> unsigned int index)
> {
> + WARN_ON(index >= dev->num_tx_queues);
> return &dev->_tx[index];
> }
>
Very sorry for being late, just i found way to stabilize kernel for me and to
solve my personal life issues. It took 2 weeks...
I will try this patch, but i'm sure i dont have multiqueue card there.
I had shaper on eth0.33 and eth0 so i disable all offloading except
checksumming there. Recently i found that on some interfaces (where is no
shaper) gso left on. And yes, probably some traffic was queued, then route
changed, and maybe it went from gso off interface to gso on...
It can be just pure luck, that i dont have crashes anymore, but maybe trick is
in gso...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists