[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110916.185614.1208167848704741368.davem@davemloft.net>
Date: Fri, 16 Sep 2011 18:56:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: sjurbren@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] caif: fix a potential NULL dereference
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 02 Sep 2011 14:19:23 +0200
> Commit bd30ce4bc0b7 (caif: Use RCU instead of spin-lock in caif_dev.c)
> added a potential NULL dereference in case alloc_percpu() fails.
>
> caif_device_alloc() can also use GFP_KERNEL instead of GFP_ATOMIC.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: Sjur Brændeland <sjur.brandeland@...ricsson.com>
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