Mike Krinkin
21974061cf
null_blk: fix use-after-free problem
...
end_cmd finishes request associated with nullb_cmd struct, so we
should save pointer to request_queue in a local variable before
calling end_cmd.
The problem was causes general protection fault with slab poisoning
enabled.
Fixes: 8b70f45e2eb2 ("null_blk: restart request processing on completion handler")
Tested-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Mike Krinkin <krinkin.m.u@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-07-22 13:30:20 -06:00
..
2015-07-16 23:47:19 +02:00
2015-07-17 16:39:53 -07:00
2015-07-09 11:20:01 -07:00
2015-07-22 13:30:20 -06:00
2015-07-15 21:46:59 +10:00
2015-07-17 16:39:53 -07:00
2015-07-07 10:44:45 +02:00
2015-07-16 23:47:19 +02:00
2015-07-09 22:59:49 +02:00
2015-07-08 15:14:13 +08:00
2015-07-17 16:39:53 -07:00
2015-07-03 12:10:12 -07:00
2015-07-03 15:20:57 -07:00
2015-07-18 10:27:12 -07:00
2015-07-17 18:18:04 +10:00
2015-07-02 10:25:22 -07:00
2015-07-03 14:39:06 +02:00
2015-07-01 16:15:05 +03:00
2015-07-09 22:25:54 +02:00
2015-07-01 10:49:25 -07:00
2015-07-13 14:19:22 -07:00
2015-07-14 13:20:16 -04:00
2015-07-11 11:16:04 -07:00
2015-07-01 14:44:22 -07:00
2015-07-18 10:27:12 -07:00
2015-07-01 19:09:11 -07:00
2015-07-02 10:36:29 -07:00
2015-07-17 20:53:57 -07:00
2015-07-01 19:09:11 -07:00
2015-07-06 05:33:17 -07:00
2015-06-30 19:44:57 -07:00
2015-07-17 16:39:53 -07:00
2015-07-10 12:16:59 -07:00
2015-07-17 16:39:53 -07:00
2015-07-01 10:49:25 -07:00
2015-07-19 14:12:22 -07:00
2015-07-04 14:09:32 -04:00
2015-06-30 14:30:34 -04:00
2015-07-01 19:40:18 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 10:25:22 -07:00
2015-07-21 15:27:27 -07:00
2015-07-14 11:02:44 -07:00
2015-07-06 23:52:21 +02:00
2015-07-02 10:42:13 -07:00
2015-07-02 10:25:22 -07:00
2015-07-18 00:42:31 +02:00
2015-07-15 13:12:44 -07:00
2015-07-19 14:18:00 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 14:40:49 -07:00
2015-07-14 19:34:57 -07:00
2015-07-04 14:13:43 -07:00
2015-07-01 10:49:25 -07:00
2015-07-02 14:40:49 -07:00
2015-07-17 16:39:53 -07:00
2015-07-04 14:13:43 -07:00
2015-07-10 21:44:19 +02:00
2015-07-03 16:02:25 -07:00
2015-07-17 16:39:53 -07:00
2015-07-04 14:13:43 -07:00
2015-06-29 10:34:42 -07:00