X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Ftap%2Ftap.c;h=6c6d2cac7cbc94785bc408014a87bb2480d3e1ff;hb=c5d5327ac59a212ecbdbbcf57e648becd02a702d;hp=974a4175fa6af6b18651f3f13cd3a2af5582f0bc;hpb=1acdbc2fac0078d85dc55c5ed882f4f6ca0c024c;p=vpp.git diff --git a/src/vnet/devices/tap/tap.c b/src/vnet/devices/tap/tap.c index 974a4175fa6..6c6d2cac7cb 100644 --- a/src/vnet/devices/tap/tap.c +++ b/src/vnet/devices/tap/tap.c @@ -441,6 +441,7 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args) sw = vnet_get_hw_sw_interface (vnm, vif->hw_if_index); vif->sw_if_index = sw->sw_if_index; args->sw_if_index = vif->sw_if_index; + args->rv = 0; hw = vnet_get_hw_interface (vnm, vif->hw_if_index); hw->flags |= VNET_HW_INTERFACE_FLAG_SUPPORTS_INT_MODE; if (args->tap_flags & TAP_FLAG_GSO)