diff options
author | Insu Yun <wuninsu@gmail.com> | 2016-02-17 21:06:33 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-01 01:11:57 +0300 |
commit | a82268b30a8b4b920d0bad24472cbb000c8e734a (patch) | |
tree | 063c147555cf98e4b6bf0c6604d5fa16ad7a6f1b /drivers/net | |
parent | bfec53c6c88aa2b18a5015ca3e0137d4e0dec95a (diff) | |
download | linux-a82268b30a8b4b920d0bad24472cbb000c8e734a.tar.xz |
nes: handling failed allocation when creating workqueue
Since create_singlethread_workqueue uses kzalloc internally,
it can fail when the system is under memory pressure, so need
to handle it.
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Reviewed-by: Leon Romanovsky <leon@leon.nu>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions