[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100412.003600.26990425.davem@davemloft.net>
Date: Mon, 12 Apr 2010 00:36:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: krkumar2@...ibm.com, netdev@...r.kernel.org,
nuclearcat@...learcat.com
Subject: Re: NULL pointer dereference panic in stable (2.6.33.2), amd64
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 12 Apr 2010 09:18:17 +0200
> Here the patch I cooked, this is a stable candidate, once tested and
> acknowledged.
>
> [PATCH] net: dev_pick_tx() fix
>
> When dev_pick_tx() caches tx queue_index on a socket, we must check
> socket dst_entry matches skb one, or risk a crash later, as reported by
> Denys Fedorysychenko, if old packets are in flight during a route
> change, involving devices with different number of queues.
>
> Bug introduced by commit a4ee3ce3
> (net: Use sk_tx_queue_mapping for connected sockets)
>
> Reported-by: Denys Fedorysychenko <nuclearcat@...learcat.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Looks good Eric. I'll integrate this into net-2.6 and also queue it
up for -stable in a day or two unless some problem is discovered.
Thanks!
--
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