From: Kulikov Vasiliy <segooon@xxxxxxxxx> 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@xxxxxxxxx> Applied to net-next-2.6 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html