[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100710.194223.15248752.davem@davemloft.net>
Date: Sat, 10 Jul 2010 19:42:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: segooon@...il.com
Cc: kernel-janitors@...r.kernel.org, jpirko@...hat.com,
shemminger@...tta.com, eric.dumazet@...il.com,
andre.goddard@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] 82596: do not panic on out of memory
From: Kulikov Vasiliy <segooon@...il.com>
Date: Fri, 9 Jul 2010 16:25:22 +0400
> If dev_alloc_skb() failed then free already allocated skbs.
> remove_rx_bufs() can be called multiple times, so set rbd->skb to NULL
> to avoid double free. remove_rx_bufs() was moved upwards to be seen by
> init_rx_bufs().
>
> Signed-off-by: Kulikov Vasiliy <segooon@...il.com>
Applied to net-next-2.6
--
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