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
..
2014-10-21 14:02:54 -06:00
2015-07-04 19:36:06 -07:00
2015-06-24 08:48:46 -06:00
2015-06-26 14:51:15 -07:00
2014-11-24 08:05:18 -07:00
2015-07-01 11:53:46 -07:00
2015-06-25 17:00:37 -07:00
2014-10-20 16:20:18 +02:00
2014-06-02 09:29:34 -07:00
2015-02-16 17:56:04 -08:00
2011-05-06 08:23:55 -06:00
2015-05-31 18:06:28 -07:00
2011-05-06 08:23:59 -06:00
2015-05-31 11:14:34 -07:00
2011-08-08 11:40:15 +02:00
2015-03-05 20:53:06 +01:00
2013-06-29 12:46:45 +04:00
2014-08-08 15:57:28 -07:00
2015-02-03 13:00:36 +01:00
2014-10-01 08:16:07 -06:00
2015-06-24 21:24:10 -04:00
2015-07-04 19:36:06 -07:00
2015-05-20 09:06:09 -06:00
2015-06-24 21:24:10 -04:00
2014-10-20 16:20:18 +02:00
2015-05-20 09:06:13 -06:00
2015-07-22 13:30:20 -06:00
2015-07-15 15:36:47 -06:00
2015-06-25 15:12:50 -07:00
2015-01-23 14:15:46 -07:00
2015-06-02 08:33:34 -06:00
2013-11-23 22:33:51 -08:00
2015-06-10 14:06:55 -06:00
2012-12-17 08:37:29 -06:00
2015-07-01 00:46:46 +03:00
2014-10-04 10:55:32 -06:00
2013-11-08 09:10:30 -07:00
2011-02-02 11:31:21 +01:00
2014-12-11 18:52:45 -08:00
2015-03-23 14:29:40 +11:00
2009-03-26 21:15:27 +01:00
2014-10-20 16:20:18 +02:00
2015-05-05 13:40:03 -06:00
2013-11-23 22:33:51 -08:00
2015-05-05 13:40:03 -06:00
2015-07-01 11:53:46 -07:00
2014-08-21 20:37:54 -05:00
2014-04-15 14:03:02 -06:00