[dpdk-stable] [PATCH v3] vhost: fix null pointer checking

Maxime Coquelin maxime.coquelin at redhat.com
Wed Apr 17 09:54:45 CEST 2019



On 4/11/19 4:48 PM, Mohammad Abdul Awal wrote:
> Null value for parameters will cause segfault.
> 
> Fixes: d7280c9fff ("vhost: support selective datapath")
> Fixes: 72e8543093 ("vhost: add API to get MTU value")
> Fixes: a277c71598 ("vhost: refactor code structure")
> Fixes: ca33faf9ef ("vhost: introduce API to fetch negotiated features")
> Fixes: eb32247457 ("vhost: export guest memory regions")
> Fixes: 40ef286f23 ("vhost: export vhost vring info")
> Fixes: bd2e0c3fe5 ("vhost: add APIs for live migration")
> Fixes: 0b8572a0c1 ("vhost: add external message handling to the API")
> Fixes: b4953225ce ("vhost: add APIs for datapath configuration")
> Fixes: 5fbb3941da ("vhost: introduce driver features related APIs")
> Fixes: 292959c719 ("vhost: cleanup unix socket")
> Cc:stable at dpdk.org
> 
> Signed-off-by: Mohammad Abdul Awal<mohammad.abdul.awal at intel.com>
> ---
> v3: fixed per review comments
> 
> v2: fixed per review comments
> 
>   lib/librte_vhost/socket.c |  8 +++++++-
>   lib/librte_vhost/vdpa.c   |  5 ++++-
>   lib/librte_vhost/vhost.c  | 16 ++++++++--------
>   3 files changed, 19 insertions(+), 10 deletions(-)


Applied to dpdk-next-virtio/master.

Thanks,
Maxime


More information about the stable mailing list