diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-09-02 04:19:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-16 23:40:34 +0200 |
commit | 4fb66b8210c7d7147b164e19b1b44da916a75691 (patch) | |
tree | 203f37890eb96313224c7bf431622297b1a0601d /fs/partitions/sgi.c | |
parent | sctp: deal with multiple COOKIE_ECHO chunks (diff) | |
download | linux-4fb66b8210c7d7147b164e19b1b44da916a75691.tar.xz linux-4fb66b8210c7d7147b164e19b1b44da916a75691.zip |
caif: fix a potential NULL dereference
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@gmail.com>
CC: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/partitions/sgi.c')
0 files changed, 0 insertions, 0 deletions