[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130619.221936.645815291796203336.davem@davemloft.net>
Date: Wed, 19 Jun 2013 22:19:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lkundrak@...sk
Cc: konszert@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] pxa168_eth: Allocate receive queue initialized to
zero
From: Lubomir Rintel <lkundrak@...sk>
Date: Tue, 18 Jun 2013 19:30:48 +0200
> Zero pointer in rx_skb or tx_skb is how respective *_deinit() functions find
> out that a skb slot is unallocated. If *_init() functions unsuccessfully return
> after the allocation (e.g. when subsequent dma_alloc_coherent() is not
> successful), this would result in attempt to kfree() invalid pointers.
>
> Signed-off-by: Lubomir Rintel <lkundrak@...sk>
Applied.
--
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