On Mon, Jan 13, 2020 at 03:40:31PM +0800, Yunjian Wang wrote: > The function vhost_kernel_tap_set_offload() could return errors, > the return value need to be checked. And there is no need to fail > when error is -ENOTSUP. > > Fixes: 1db4d2330bc8 ("net/virtio-user: check negotiated features before set") > Cc: sta...@dpdk.org > > Signed-off-by: Yunjian Wang <wangyunj...@huawei.com> > --- > v3: > * Fix return value check incorrectly in v2 > v2: > * No need to fail when error is -ENOTSUP. > --- > drivers/net/virtio/virtio_user/vhost_kernel_tap.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Tiwei Bie <tiwei....@intel.com>