[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-27 Thread Qiu, Michael
On 3/26/2015 4:29 PM, Linhaifeng wrote: > > On 2015/3/26 15:58, Qiu, Michael wrote: >> On 3/26/2015 3:52 PM, Xie, Huawei wrote: >>> On 3/26/2015 3:05 PM, Qiu, Michael wrote: Function gpa_to_vva() could return zero, while this will lead a Segmentation fault. This patch is to fix

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Linhaifeng
On 2015/3/26 15:58, Qiu, Michael wrote: > On 3/26/2015 3:52 PM, Xie, Huawei wrote: >> On 3/26/2015 3:05 PM, Qiu, Michael wrote: >>> Function gpa_to_vva() could return zero, while this will lead >>> a Segmentation fault. >>> >>> This patch is to fix this issue. >>> >>> Signed-off-by: Michael Qiu

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Michael Qiu
Function gpa_to_vva() could return zero, while this will lead a Segmentation fault. This patch is to fix this issue. Signed-off-by: Michael Qiu --- lib/librte_vhost/vhost_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Qiu, Michael
On 3/26/2015 3:52 PM, Xie, Huawei wrote: > On 3/26/2015 3:05 PM, Qiu, Michael wrote: >> Function gpa_to_vva() could return zero, while this will lead >> a Segmentation fault. >> >> This patch is to fix this issue. >> >> Signed-off-by: Michael Qiu >> --- >> lib/librte_vhost/vhost_rxtx.c | 3 +++ >>

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Xie, Huawei
On 3/26/2015 3:05 PM, Qiu, Michael wrote: > Function gpa_to_vva() could return zero, while this will lead > a Segmentation fault. > > This patch is to fix this issue. > > Signed-off-by: Michael Qiu > --- > lib/librte_vhost/vhost_rxtx.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/l