Re: [PATCH 2/2] vdpa: harden the error path if get_iova_range failed

2022-12-27 Thread Jason Wang
On Sat, Dec 24, 2022 at 7:49 PM Longpeng(Mike) wrote: > > From: Longpeng > > We should stop if the GET_IOVA_RANGE ioctl failed. Acked-by: Jason Wang Thanks > > Signed-off-by: Longpeng > --- > net/vhost-vdpa.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git

[PATCH 2/2] vdpa: harden the error path if get_iova_range failed

2022-12-24 Thread Longpeng(Mike)
From: Longpeng We should stop if the GET_IOVA_RANGE ioctl failed. Signed-off-by: Longpeng --- net/vhost-vdpa.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index ffdc435d19..e65023d013 100644 --- a/net/vhost-vdpa.c +++