Re: NULL pointer dereference panic in stable (2.6.33.2), amd64

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Krishna Kumar2
Date: Sunday, April 11, 2010 - 8:38 pm

Hi Eric,

Eric Dumazet <eric.dumazet@gmail.com> wrote on 04/12/2010 04:05:53 AM:


When route changes, I think my patch had reset sk->sk_tx_queue_mapping
by calling sk_tx_queue_clear. I don't know if I missed any path where
the route changes and sk_dst_reset() was not called.

The following might be better to prove the panic is due to this, since
your suggestion will hide a panic that happens somewhat rare (according
to Denys):

      if (sk_tx_queue_recorded(sk)) {
            queue_index = sk_tx_queue_get(sk);
+           queue_index = dev_cap_txqueue(dev, queue_index);
      } else {

Thanks,

- KK


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
NULL pointer dereference panic in stable (2.6.33.2), amd64, Denys Fedorysychenko, (Sun Apr 11, 1:38 pm)
Re: NULL pointer dereference panic in stable (2.6.33.2), amd64, Denys Fedorysychenko, (Sun Apr 11, 4:04 pm)
Re: NULL pointer dereference panic in stable (2.6.33.2), amd64, Denys Fedorysychenko, (Sun Apr 11, 4:36 pm)
Re: NULL pointer dereference panic in stable (2.6.33.2), amd64, Krishna Kumar2, (Sun Apr 11, 8:38 pm)
Re: NULL pointer dereference panic in stable (2.6.33.2), amd64, Denys Fedorysychenko, (Mon Apr 12, 9:11 am)
Re: NULL pointer dereference panic in stable (2.6.33.2), amd64, Denys Fedorysychenko, (Thu Apr 15, 2:11 am)
[PATCH net-next-2.6] net: Introduce skb_orphan_try(), Eric Dumazet, (Fri Apr 16, 3:18 pm)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), Eric Dumazet, (Tue Apr 20, 11:08 pm)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), David Miller, (Wed Apr 21, 10:56 pm)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), Eric Dumazet, (Thu Apr 22, 12:10 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), David Miller, (Thu Apr 22, 12:16 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), Eric Dumazet, (Thu Apr 22, 12:24 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), David Miller, (Thu Apr 22, 12:26 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), Eric Dumazet, (Thu Apr 22, 12:33 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), David Miller, (Thu Apr 22, 12:41 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), Eric Dumazet, (Thu Apr 22, 12:47 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), David Miller, (Thu Apr 22, 12:54 am)
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try(), Eric Dumazet, (Thu Apr 22, 12:59 am)
Re: NULL pointer dereference panic in stable (2.6.33.2), amd64, Denys Fedorysychenko, (Thu Apr 29, 3:50 am)