Messages in this thread | | | Date | Fri, 16 Dec 2022 08:15:18 -0700 | Subject | Re: [PATCH] blk-mq: fix possible NULL pointer access in classic polling | From | Jens Axboe <> |
| |
On 12/16/22 8:06 AM, huteng19901016@gmail.com wrote: > From: "huteng.ht" <huteng.ht@bytedance.com> > > Since poll method in blk_mq_ops may not be implemented by driver, > add a judgement to avoid NULL pointer access.
So the queue has QUEUE_FLAG_POLL set, but no -mq_ops->poll() set? That seems like the real bug.
Where did you see this oops?
-- Jens Axboe
| |