]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async/crypto_onwire: add asserts for reset_tx_handler() reservation
authorIlya Dryomov <idryomov@gmail.com>
Fri, 3 Apr 2020 13:43:10 +0000 (15:43 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 13 Jul 2020 12:44:44 +0000 (14:44 +0200)
commit047fb4d16357f8c9732f586f3abaeda2bc3ee9e9
treef3d77821695c71b9af2632b7378cb2242096f1b2
parentfb5ecb1ec57a4da6c8286b5a6a588396c8c72ca0
msg/async/crypto_onwire: add asserts for reset_tx_handler() reservation

Add asserts to avoid bugs like the one fixed in 1a975fb3a801
("msg/async: fix unnecessary 4 kB allocation in secure mode.").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 4894e591200c2234dff7241de95997981ad90972)
src/msg/async/crypto_onwire.cc