}
if (PREDICT_FALSE (hi->sw_if_index != swif1))
{
- hi1 = vnet_get_sup_hw_interface (vnm, swif0);
+ hi1 = vnet_get_sup_hw_interface (vnm, swif1);
if (!(hi1->flags & VNET_HW_INTERFACE_FLAG_SUPPORTS_GSO) &&
(b[1]->flags & VNET_BUFFER_F_GSO))
break;
}
if (PREDICT_FALSE (hi->sw_if_index != swif2))
{
- hi2 = vnet_get_sup_hw_interface (vnm, swif0);
+ hi2 = vnet_get_sup_hw_interface (vnm, swif2);
if ((hi2->flags & VNET_HW_INTERFACE_FLAG_SUPPORTS_GSO) == 0 &&
(b[2]->flags & VNET_BUFFER_F_GSO))
break;
}
if (PREDICT_FALSE (hi->sw_if_index != swif3))
{
- hi3 = vnet_get_sup_hw_interface (vnm, swif0);
+ hi3 = vnet_get_sup_hw_interface (vnm, swif3);
if (!(hi3->flags & VNET_HW_INTERFACE_FLAG_SUPPORTS_GSO) &&
(b[3]->flags & VNET_BUFFER_F_GSO))
break;