Messages in this thread | | | Date | Wed, 19 Jun 2013 22:19:36 -0700 (PDT) | Subject | Re: [PATCH 1/3] pxa168_eth: Allocate receive queue initialized to zero | From | David Miller <> |
| |
From: Lubomir Rintel <lkundrak@v3.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@v3.sk>
Applied.
| |