Thread (16 messages) flat view 16 messages, 3 authors, 2011-06-11

Re: [PATCH net-next-2.6] ftmac100: use GFP_ATOMIC allocations where needed

From: Po-Yu Chuang <hidden>
Date: 2011-03-14 08:16:30
Also in: lkml

Hi Eric,

On Mon, Mar 14, 2011 at 4:29 AM, Eric Dumazet [off-list ref] wrote:
Le dimanche 13 mars 2011 à 21:26 +0100, Eric Dumazet a écrit :
quoted
Le dimanche 13 mars 2011 à 21:16 +0100, Eric Dumazet a écrit :
quoted
BTW, it seems I missed the fact that ftmac100_alloc_rx_page() used a
GFP_KERNEL allocation, while its called from softirq context (from
ftmac100_rx_packet())
Here is a patch against ftmac100
Oops, one typo in it sorry
quoted
-static int ftmac100_alloc_rx_page(struct ftmac100 *priv, struct ftmac100_rxdes *rxdes)
+static int ftmac100_alloc_rx_page(struct ftmac100 *priv,
+                               struct ftmac100_rxdes *rxdes, gtp_t gfp)
Should be :   gfp_t gfp

Please build and test the patch, I dont have an ARM testbed anyway.
Tested-by: Po-Yu Chuang <redacted>

Thank you,
Po-Yu Chuang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help