vhost: check cmsg not null
authorTomasz Kulasek <tomaszx.kulasek@intel.com>
Fri, 9 Feb 2018 17:05:00 +0000 (18:05 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000 (14:08 +0200)
commitaa001111b002a05bf126c688d06146c092c0795a
tree5d4c3e0dc199c57bfc8adea9013395de896576c8
parentfbc4d248b198db7f720fe31a47050a406632cc7a
vhost: check cmsg not null

Fixes: 8f972312b8f4 ("vhost: support vhost-user")
Cc: stable@dpdk.org
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Reviewed-by: Jianfeng Tan <jianfeng.tan@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/socket.c