commit | c2258ffc56f2b34573c2917937190c1491620334 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Wed May 14 21:35:21 2014 +0200 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Jul 10 18:35:09 2014 +0200 |
tree | b202e9693aa3520a622bae29e85efbf3f70a9312 | |
parent | 45d2933c921c51ddd2780a806193ab00e03fe215 [diff] |
drbd: poison free'd device, resource and connection structs Now that we have additional asynchronous kref_get/kref_put via debugfs, make sure we catch access after free. Poison struct drbd_device, drbd_connection and drbd_resource before kfree() with 0xfd, 0xfc, and 0xf2, respectively. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>