commit | e90c7e712980bf794f88f749e2a1270e4a4a116e | [log] [tgz] |
---|---|---|
author | Santosh Nayak <santoshprasadnayak@gmail.com> | Thu Mar 22 12:42:41 2012 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Mar 28 14:25:35 2012 -0400 |
tree | e037a02e279b449c6889dcbee8b76424655f4036 | |
parent | 75836b8daefdde84f8b5dde1be5b67d858139df3 [diff] |
net: orinoco: add error handling for failed kmalloc(). With flag 'GFP_ATOMIC', probability of allocation failure is more. Add error handling after kmalloc() call to avoid null dereference. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>