Skip to content

Commit

Permalink
Disable GSO on vhost interface to fix vrouter crash
Browse files Browse the repository at this point in the history
Already fixed in mainline. Checking in the fix to 1.30

Change-Id: Icee7a695eb9330a77bcb06fc5a719dd0d526763c
Closes-bug: 1379240
  • Loading branch information
prabix76 committed Oct 20, 2014
1 parent 46f9fa8 commit de5a23f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion linux/vhost_dev.c
Expand Up @@ -225,7 +225,6 @@ vhost_if_add(struct vr_interface *vif)

vp->vp_vifp = vif;
if (vif->vif_type == VIF_TYPE_HOST) {
dev->features |= (NETIF_F_GSO | NETIF_F_TSO | NETIF_F_SG | NETIF_F_IP_CSUM);

if (vif->vif_bridge) {
vp->vp_phys_dev =
Expand Down
1 change: 0 additions & 1 deletion linux/vr_host_interface.c
Expand Up @@ -941,7 +941,6 @@ linux_to_vr(struct vr_interface *vif, struct sk_buff *skb)
if (!pkt)
return 0;

pkt->vp_flags |= VP_FLAG_GSO;
vif->vif_rx(vif, pkt, VLAN_ID_INVALID);

return 0;
Expand Down

0 comments on commit de5a23f

Please sign in to comment.