[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130619.221928.858650471566973618.davem@davemloft.net>
Date: Wed, 19 Jun 2013 22:19:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lkundrak@...sk
Cc: buytenh@...tstofly.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mv643xx_eth: Allocate receive queue initialized to zero
From: Lubomir Rintel <lkundrak@...sk>
Date: Tue, 18 Jun 2013 19:32:38 +0200
> Zero pointer in rx_skb is how respective rxq_deinit() finds out out that a skb
> slot is unallocated. If rxq_refill() fails (e.g. on OOM condition), subsequent
> teardown would result in an attempt to kfree() invalid pointers.
>
> Signed-off-by: Lubomir Rintel <lkundrak@...sk>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists