diff options
author | 2015-06-25 21:02:57 +0200 | |
---|---|---|
committer | 2015-09-08 23:14:28 +0300 | |
commit | d920ff6fc7c1ec3d7bd80432bff5575c0ebe426c (patch) | |
tree | eb265cf997abf7109fde1705a4cd7f2266d05e11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libceph: remove the unused macro AES_KEY_SIZE (diff) | |
download | wireguard-linux-d920ff6fc7c1ec3d7bd80432bff5575c0ebe426c.tar.xz wireguard-linux-d920ff6fc7c1ec3d7bd80432bff5575c0ebe426c.zip |
libceph: Avoid holding the zero page on ceph_msgr_slab_init errors
ceph_msgr_slab_init may fail due to a temporary ENOMEM.
Delay a bit the initialization of zero_page in ceph_msgr_init and
reorder its cleanup in _ceph_msgr_exit so it's done in reverse
order of setup.
BUG_ON() will not suffer to be postponed in case it is triggered.
Signed-off-by: Benoît Canet <benoit.canet@nodalink.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions